- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 109 for GOT (0.12 sec)
-
cmd/kubeadm/app/apis/kubeadm/types_test.go
expectedResult: "", }, } for _, tc := range tests { t.Run(tc.name, func(t *testing.T) { if result := tc.cfg.EncryptionAlgorithmType(); result != tc.expectedResult { t.Errorf("expected result: %s, got: %s", tc.expectedResult, result) } }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 09:39:24 UTC 2024 - 1.9K bytes - Viewed (0) -
pilot/pkg/networking/core/sidecar_simulation_test.go
t.Logf("got unexpected error: %+v", s.PushContext().ProxyStatus) } cmap := xdstest.ExtractClusters(clusters) got := xdstest.MapKeys(cmap) // Check we have all expected clusters if !reflect.DeepEqual(xdstest.MapKeys(tt.clusters), got) { t.Errorf("expected clusters: %v, got: %v", xdstest.MapKeys(tt.clusters), got) } for cname, c := range cmap {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 84.7K bytes - Viewed (0) -
cmd/signature-v4_test.go
}, } // 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)) } } } func TestDoesPresignedSignatureMatch(t *testing.T) { ctx, cancel := context.WithCancel(context.Background()) defer cancel()
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/apiserver/pkg/storage/testing/store_tests.go
t.Errorf("Unexpected failure during deletion: %v", err) } if validateCount != 2 { t.Errorf("Expect validateCount = %d, but got %d", 2, validateCount) } if updateCount != 1 { t.Errorf("Expect updateCount = %d, but got %d", 1, updateCount) } if err := store.Get(ctx, key, storage.GetOptions{}, &example.Pod{}); !storage.IsNotFound(err) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 12:45:33 UTC 2024 - 91.4K bytes - Viewed (0) -
internal/grid/manager.go
err := fmt.Errorf("grid: panic: %v\n", r) gridLogIf(context.Background(), err, err.Error()) w.WriteHeader(http.StatusInternalServerError) } }() if debugPrint { fmt.Printf("grid: Got a %s request for: %v\n", req.Method, req.URL) } ctx := req.Context() if err := m.authRequest(req); err != nil { gridLogOnceIf(ctx, fmt.Errorf("auth %s: %w", req.RemoteAddr, err), req.RemoteAddr)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 17:40:33 UTC 2024 - 9.8K bytes - Viewed (0) -
internal/grid/muxserver.go
func (m *muxServer) checkSeq(seq uint32) (ok bool) { if seq != m.RecvSeq { if debugPrint { fmt.Printf("expected sequence %d, got %d\n", m.RecvSeq, seq) } m.disconnect(fmt.Sprintf("receive sequence number mismatch. want %d, got %d", m.RecvSeq, seq), false) return false } m.RecvSeq++ return true } func (m *muxServer) message(msg message) { if debugPrint {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 9.7K bytes - Viewed (0) -
cmd/erasure-healing_test.go
if !gotMeta.Equals(testCase.expectedMeta) { t.Errorf("Expected %#v, got %#v", testCase.expectedMeta, gotMeta) } if dangling != testCase.expectedDangling { t.Errorf("Expected dangling %t, got %t", testCase.expectedDangling, dangling) } }) } } // Tests both object and bucket healing. func TestHealing(t *testing.T) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 49K bytes - Viewed (0) -
pkg/controller/podgc/gc_controller_test.go
t.Errorf("Deleted pod names (-want,+got):\n%s", diff) } patchedPodNames := getPatchedPodNames(client) if diff := cmp.Diff(wantPatchedPodNames, patchedPodNames, cmpopts.EquateEmpty()); diff != "" { t.Errorf("Patched pod names (-want,+got):\n%s", diff) } } func testDeletingPodsMetrics(t *testing.T, total int, reason string) { t.Helper()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 08:16:48 UTC 2024 - 29K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go
pl := &TaintToleration{} got, err := pl.isSchedulableAfterNodeChange(logger, test.pod, test.oldObj, test.newObj) if (err != nil) != test.wantErr { t.Errorf("isSchedulableAfterNodeChange() error = %v, wantErr %v", err, test.wantErr) } if got != test.expectedHint { t.Errorf("isSchedulableAfterNodeChange() = %v, want %v", got, test.expectedHint) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 17.5K bytes - Viewed (0) -
src/time/tick_test.go
<-ticker.C ticker.Stop() } } // Test the Tick convenience wrapper. func TestTick(t *testing.T) { // Test that giving a negative duration returns nil. if got := Tick(-1); got != nil { t.Errorf("Tick(-1) = %v; want nil", got) } } // Test that NewTicker panics when given a duration less than zero. func TestNewTickerLtZeroDuration(t *testing.T) { defer func() { if err := recover(); err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:10:37 UTC 2024 - 14.7K bytes - Viewed (0)