Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,599 for expect64 (0.17 sec)

  1. cni/test/testdata/expected/minikube_cni.conflist.expected

    Ben Leggett <******@****.***> 1716316321 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 875 bytes
    - Viewed (0)
  2. tools/istio-iptables/pkg/builder/iptables_builder_test.go

    	goldenFile := filepath.Join("testdata", name+".golden")
    	testutil.CompareContent(t, gotBytes, goldenFile)
    }
    
    func TestBuilder(t *testing.T) {
    	cases := []struct {
    		name         string
    		expectV4     bool
    		expectV6     bool
    		config       func(builder *IptablesRuleBuilder)
    		sharedGolden bool
    	}{
    		{
    			"insert-single-v4",
    			true,
    			false,
    			func(builder *IptablesRuleBuilder) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. pkg/kubelet/status/status_manager_test.go

    			if tc.updateFn != nil {
    				tc.updateFn(copied)
    			}
    			expected := copied.DeepCopy()
    
    			syncer.TerminatePod(copied)
    			status := expectPodStatus(t, syncer, tc.pod.DeepCopy())
    			if tc.expectFn != nil {
    				tc.expectFn(t, status)
    				return
    			}
    			if !reflect.DeepEqual(expected.Status, status) {
    				diff := cmp.Diff(expected.Status, status)
    				if len(diff) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
  4. cmd/import-boss/main_test.go

    		if ret != tc.expect {
    			t.Errorf("[%d] expected %v, got %v: %q", i, tc.expect, ret, tc.input)
    		}
    	}
    }
    
    func TestHasPathPrefix(t *testing.T) {
    	cases := []struct {
    		base   string
    		pfx    string
    		expect bool
    	}{{
    		base:   "",
    		pfx:    "",
    		expect: true,
    	}, {
    		base:   "/foo/bar",
    		pfx:    "",
    		expect: true,
    	}, {
    		base:   "",
    		pfx:    "/foo",
    		expect: false,
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. operator/pkg/util/progress/progress_test.go

    	testBuf := io.Writer(buf)
    	testWriter = &testBuf
    	expected := ""
    	expect := func(e string) {
    		t.Helper()
    		// In buffer mode we don't overwrite old data, so we are constantly appending to the expected
    		newExpected := expected + "\n" + e
    		if newExpected != buf.String() {
    			t.Fatalf("expected '%v', \ngot '%v'", newExpected, buf.String())
    		}
    		expected = newExpected
    	}
    
    	p := NewLog()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. pkg/volume/util/fsquota/quota_linux_test.go

    		if err == nil && testcase.expectFailure {
    			t.Errorf("Case %s expected failure, but succeeded, returning mountpoint %s", name, mountpoint)
    		} else if err != nil {
    			t.Errorf("Case %s failed: %s", name, err.Error())
    		} else if mountpoint != testcase.expectedResult {
    			t.Errorf("Case %s got mountpoint %s, expected %s", name, mountpoint, testcase.expectedResult)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  7. pilot/pkg/xds/sds_test.go

    			request:   &model.PushRequest{Full: true},
    			expect:    map[string]Expected{},
    		},
    		{
    			name:      "multiple",
    			proxy:     &model.Proxy{VerifiedIdentity: &spiffe.Identity{Namespace: "istio-system"}, Type: model.Router},
    			resources: allResources,
    			request:   &model.PushRequest{Full: true},
    			expect: map[string]Expected{
    				"kubernetes://generic": {
    					Key:  string(genericCert.Data[credentials.GenericScrtKey]),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  8. security/pkg/nodeagent/cache/secretcache_test.go

    		expected string
    	}{
    		{
    			name:     "no certs",
    			certs:    []string{},
    			expected: "",
    		},
    		{
    			name:     "single cert",
    			certs:    []string{"a"},
    			expected: "a",
    		},
    		{
    			name:     "multiple certs",
    			certs:    []string{"a", "b"},
    			expected: "a\nb",
    		},
    		{
    			name:     "existing newline",
    			certs:    []string{"a\n", "b"},
    			expected: "a\nb",
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/filterlatency/filterlatency_test.go

    	wrapped.ServeHTTP(w, testRequest)
    
    	if callCount != 1 {
    		t.Errorf("expected the given handler to be invoked once, but was actually invoked %d times", callCount)
    	}
    	if filterRecord == nil {
    		t.Fatal("expected a filter record in the request context, but got nil")
    	}
    	if filterName != filterRecord.name {
    		t.Errorf("expected filter name=%s but got=%s", filterName, filterRecord.name)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. pilot/pkg/xds/discovery_test.go

    	}
    
    	if !wgDoneOrTimeout(wg, time.Second) {
    		t.Fatalf("Expected 5 pushes but got %v", len(pushes))
    	}
    	expected := map[string]int{
    		"proxy-0": 1,
    		"proxy-1": 1,
    		"proxy-2": 1,
    		"proxy-3": 1,
    		"proxy-4": 1,
    	}
    	if !reflect.DeepEqual(expected, pushes) {
    		t.Fatalf("Expected pushes %+v, got %+v", expected, pushes)
    	}
    }
    
    type fakeStream struct {
    	grpc.ServerStream
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top