- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,185 for expectGet (0.29 sec)
-
pkg/util/tail/tail_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 13:13:22 UTC 2024 - 2.3K bytes - Viewed (0) -
pkg/api/persistentvolumeclaim/util_test.go
if test.spec.DataSource != test.want { t.Errorf("expected condition was not met, test: %s, anyEnabled: %v, xnsEnabled: %v, spec: %+v, expected DataSource: %+v", testName, test.anyEnabled, test.xnsEnabled, test.spec, test.want) } if test.spec.DataSourceRef != test.wantRef { t.Errorf("expected condition was not met, test: %s, anyEnabled: %v, xnsEnabled: %v, spec: %+v, expected DataSourceRef: %+v",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.9K bytes - Viewed (0) -
pkg/proxy/servicechangetracker_test.go
if len(newServices) != len(tc.expected) { t.Fatalf("expected %d new, got %d: %v", len(tc.expected), len(newServices), dump.Pretty(newServices)) } for svcKey, expectedInfo := range tc.expected { svcInfo, exists := newServices[svcKey].(*BaseServicePortInfo) if !exists { t.Fatalf("[%s] expected to find key %s", tc.desc, svcKey) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 33.7K bytes - Viewed (0) -
cmd/signature-v4_test.go
}, "Policy": []string{"policy"}, }, expected: ErrNone, }, } // Run each test case individually. for i, testCase := range testCases { _, code := doesPolicySignatureMatch(testCase.form) if code != testCase.expected { t.Errorf("(%d) expected to get %s, instead got %s", i, niceError(testCase.expected), niceError(code)) } } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 10.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor_test.go
recognizes, unknown, err := s.RecognizesData(tc.in) if recognizes != tc.recognizes { t.Errorf("expected recognized to be %t, got %t", tc.recognizes, recognizes) } if unknown { t.Error("expected unknown to be false, got true") } if err != nil { t.Errorf("expected nil error, got: %v", err) } }) } } type stubWriter struct { n int err error }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 13 14:57:12 UTC 2024 - 20.1K bytes - Viewed (0) -
pkg/kubelet/eviction/helpers_test.go
if !found { t.Error("Expected inodes free nodefs observation") } if expected := int64(nodeFsInodesFree); nodeFsInodesQuantity.available.Value() != expected { t.Errorf("Expected %v, actual: %v", expected, nodeFsInodesQuantity.available.Value()) } if expected := int64(nodeFsInodes); nodeFsInodesQuantity.capacity.Value() != expected {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 106.7K bytes - Viewed (0) -
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) -
cmd/net_test.go
switch { case testCase.expectedErr == nil: if err != nil { t.Fatalf("error: expected = <nil>, got = %v", err) } case err == nil: t.Fatalf("error: expected = %v, got = <nil>", testCase.expectedErr) case testCase.expectedErr.Error() != err.Error(): t.Fatalf("error: expected = %v, got = %v", testCase.expectedErr, err) } if testCase.expectedIPList != nil { var found bool
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 19 08:43:09 UTC 2024 - 9.3K bytes - Viewed (0) -
src/net/lookup_windows_test.go
} if len(names) == 0 { t.Errorf("no results") } expected, err := lookupPTR(addr.String()) if err != nil { t.Skipf("skipping failed lookup %s test: %s", addr.String(), err) } slices.Sort(expected) slices.Sort(names) if !reflect.DeepEqual(expected, names) { t.Errorf("different results %s:\texp:%v\tgot:%v", addr, toJson(expected), toJson(names)) } } func TestLookupPTR(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.7K bytes - Viewed (0) -
pkg/apis/apps/v1beta1/defaults_test.go
original := test.original expected := test.expected obj2 := roundTrip(t, runtime.Object(original)) got, ok := obj2.(*appsv1beta1.Deployment) if !ok { t.Errorf("unexpected object: %v", got) t.FailNow() } if !apiequality.Semantic.DeepEqual(got.Spec, expected.Spec) { t.Errorf("object mismatch!\nexpected:\n\t%+v\ngot:\n\t%+v", got.Spec, expected.Spec) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 17.4K bytes - Viewed (0)