- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 221 for expectGet (0.2 sec)
-
pkg/kubelet/nodestatus/setters_test.go
// call setter on node if err := setter(ctx, tc.node); err != nil { t.Fatalf("unexpected error: %v", err) } // check expected node assert.True(t, apiequality.Semantic.DeepEqual(tc.expectNode, tc.node), "Diff: %s", cmp.Diff(tc.expectNode, tc.node)) // check expected events require.Equal(t, len(tc.expectEvents), len(events)) for i := range tc.expectEvents {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 21:47:24 UTC 2024 - 76.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go
} func (tc *testContext) verify(t *testing.T, expected result, initialObjects []metav1.Object, result interface{}, status *framework.Status) { t.Helper() assert.Equal(t, expected.status, status) objects := tc.listAll(t) wantObjects := update(t, initialObjects, expected.changes) wantObjects = append(wantObjects, expected.added...) for _, remove := range expected.removed { for i, obj := range wantObjects {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 07:57:10 UTC 2024 - 61.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go
if err == nil { if kmsUsed == nil || kmsUsed.v2Used != tt.wantV2Used { t.Fatalf("unexpected kmsUsed value, expected: %v, got: %v", tt.wantV2Used, kmsUsed) } } if !strings.Contains(errString(err), tt.expectedErr) { t.Fatalf("expecting error calling prefixTransformersAndProbes, expected: %s, got: %s", tt.expectedErr, errString(err)) } }) } } func TestKMSMaxTimeout(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 16:56:39 UTC 2024 - 72.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/controller_test.go
func expectServiceInstances(t testing.TB, sd *Controller, cfg *config.Config, port int, expected ...[]*model.ServiceInstance) { t.Helper() svcs := convertServices(*cfg) if len(svcs) != len(expected) { t.Fatalf("got more services than expected: %v vs %v", len(svcs), len(expected)) } expe := [][]*model.IstioEndpoint{} for _, o := range expected { res := []*model.IstioEndpoint{} for _, i := range o {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 92.9K bytes - Viewed (0) -
cmd/api-errors.go
}, ErrParseExpectedDatePart: { Code: "ParseExpectedDatePart", Description: "Did not find the expected date part in the SQL expression.", HTTPStatusCode: http.StatusBadRequest, }, ErrParseExpectedKeyword: { Code: "ParseExpectedKeyword", Description: "Did not find the expected keyword in the SQL expression.", HTTPStatusCode: http.StatusBadRequest, }, ErrParseExpectedTokenType: {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 92.1K bytes - Viewed (0) -
src/bytes/bytes_test.go
for _, ct := range ContainsAnyTests { if ContainsAny(ct.b, ct.substr) != ct.expected { t.Errorf("ContainsAny(%s, %s) = %v, want %v", ct.b, ct.substr, !ct.expected, ct.expected) } } } var ContainsRuneTests = []struct { b []byte r rune expected bool }{ {[]byte(""), 'a', false}, {[]byte("a"), 'a', true}, {[]byte("aaa"), 'a', true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 56.5K bytes - Viewed (0) -
pkg/registry/core/pod/strategy_test.go
if actual != testCase.expected { t.Errorf("[%d]: invalid qos pod %s, expected: %s, actual: %s", id, testCase.pod.Name, testCase.expected, actual) } } } func TestSchedulingGatedCondition(t *testing.T) { tests := []struct { name string pod *api.Pod want api.PodCondition }{ { name: "pod without .spec.schedulingGates", pod: &api.Pod{}, want: api.PodCondition{}, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 76.2K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/fit_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 57.4K bytes - Viewed (0) -
pkg/volume/csi/csi_mounter_test.go
t.Errorf("csi server expected path %s, got %s", csiMounter.GetPath(), vol.Path) } if !reflect.DeepEqual(vol.MountFlags, expectedMountOptions) { t.Errorf("csi server expected mount options %v, got %v", expectedMountOptions, vol.MountFlags) } if !reflect.DeepEqual(vol.VolumeContext, test.expectedVolumeContext) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 50.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 12:37:15 UTC 2024 - 75.3K bytes - Viewed (0)