Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for testudo (0.21 sec)

  1. cni/pkg/plugin/plugin_test.go

    	"istio.io/api/annotation"
    	"istio.io/api/label"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    const (
    	testPodName          = "testPod"
    	testNSName           = "testNS"
    	testSandboxDirectory = "/tmp"
    	invalidVersion       = "0.1.0"
    	preVersion           = "0.2.0"
    )
    
    var mockConfTmpl = `{
        "cniVersion": "%s",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  2. cni/pkg/plugin/cnieventclient_test.go

    	err := PushCNIEvent(cniC, fakeCmdArgs, []*cniv1.IPConfig{&fakePrevResultIPConfig}, "testpod", "testns")
    
    	assert.Error(t, err)
    	assert.Equal(t, strings.Contains(err.Error(), fmt.Sprintf("unable to push CNI event, error was %d", http.StatusInternalServerError)), true)
    }
    
    func TestPushCNIAddEventGoodPayload(t *testing.T) {
    	testPod := "testpod"
    	testNS := "testns"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest-generate_test.go

          - "false"
    `
    )
    
    // This test checks the mutating webhook selectors behavior, especially with interaction with revisions
    func TestWebhookSelector(t *testing.T) {
    	// Setup various labels to be tested
    	empty := klabels.Set{}
    	revLabel := klabels.Set{"istio.io/rev": "canary"}
    	legacyAndRevLabel := klabels.Set{"istio-injection": "enabled", "istio.io/rev": "canary"}
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Feb 22 08:32:23 GMT 2024
    - 42K bytes
    - Viewed (0)
  4. Makefile.core.mk

    LINUX_AGENT_BINARIES:=./cni/cmd/istio-cni \
      ./cni/cmd/install-cni \
      $(AGENT_BINARIES)
    
    BINARIES:=$(STANDARD_BINARIES) $(AGENT_BINARIES) $(LINUX_AGENT_BINARIES)
    
    # List of binaries that have their size tested
    RELEASE_SIZE_TEST_BINARIES:=pilot-discovery pilot-agent istioctl envoy ztunnel client server
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 26 19:45:17 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/pod_cache_test.go

    	}
    }
    
    func TestUpsertPodCache(t *testing.T) {
    	counter.Store(0)
    
    	p := newPodNetnsCache(openNsTestOverrideWithInodes(1, 1))
    
    	pod := &corev1.Pod{ObjectMeta: metav1.ObjectMeta{UID: "testUID"}}
    	nspath1 := "/path/to/netns/1"
    	nspath2 := "/path/to/netns/2"
    
    	netns1, err := p.UpsertPodCache(pod, nspath1)
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top