- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 78 for GOT (0.04 sec)
-
src/net/http/serve_test.go
mux.ServeHTTP(w, req) if got, want := w.Code, tt.code; got != want { t.Errorf("#%d: Status = %d; want = %d", i, got, want) } if tt.code == 301 { if got, want := w.HeaderMap.Get("Location"), tt.loc; got != want { t.Errorf("#%d: Location = %q; want = %q", i, got, want) } } else { if got, want := w.HeaderMap.Get("Result"), tt.want; got != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0) -
src/net/http/transport_test.go
t.Errorf("got %v, want %v", err, tcase.err) } } else { if tcase.err != nil { t.Errorf("got %v, want nil", err) } } if got, want := dials.Load(), int32(1); got != want { t.Errorf("got %v dials, want %v", got, want) } // #64804: If OnProxyConnectResponse returns an error, we should close the conn. if got, want := closes.Load(), wantCloses; got != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller_test.go
} // Make sure the ControllerRefs are correct. for _, controllerRef := range fakePodControl.ControllerRefs { if got, want := controllerRef.APIVersion, "apps/v1"; got != want { return fmt.Errorf("controllerRef.APIVersion = %q, want %q", got, want) } if got, want := controllerRef.Kind, "DaemonSet"; got != want { return fmt.Errorf("controllerRef.Kind = %q, want %q", got, want) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.4K bytes - Viewed (0) -
src/crypto/x509/x509_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 163.4K bytes - Viewed (0) -
src/reflect/all_test.go
f := typ.FieldByIndex(test.index) if got, want := f.PkgPath, test.pkgPath; got != want { t.Errorf("%s: Field(%d).PkgPath = %q, want %q", name, test.index, got, want) } if got, want := f.Anonymous, test.embedded; got != want { t.Errorf("%s: Field(%d).Anonymous = %v, want %v", name, test.index, got, want) } if got, want := f.IsExported(), test.exported; got != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
pkg/scheduler/internal/queue/scheduling_queue_test.go
got, _ := q.addToActiveQ(logger, q.newQueuedPodInfo(tt.pod)) if got != tt.wantSuccess { t.Errorf("Unexpected result: want %v, but got %v", tt.wantSuccess, got) } if tt.wantUnschedulablePods != len(q.unschedulablePods.podInfoMap) { t.Errorf("Unexpected unschedulablePods: want %v, but got %v", tt.wantUnschedulablePods, len(q.unschedulablePods.podInfoMap)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 146.9K bytes - Viewed (0) -
src/database/sql/sql_test.go
t.Fatal(err) } tx.Commit() if got := len(db.freeConn); got != 1 { t.Errorf("freeConns = %d; want 1", got) } db.SetMaxIdleConns(0) if got := len(db.freeConn); got != 0 { t.Errorf("freeConns after set to zero = %d; want 0", got) } tx, err = db.Begin() if err != nil { t.Fatal(err) } tx.Commit() if got := len(db.freeConn); got != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 111.6K bytes - Viewed (0) -
pkg/config/validation/validation_test.go
} for _, c := range cases { got := validateOutlierDetection(c.in) if (got.Err == nil) != c.valid { t.Errorf("ValidateOutlierDetection failed on %v: got valid=%v but wanted valid=%v: %v", c.name, got.Err == nil, c.valid, got.Err) } if (got.Warning == nil) == c.warn { t.Errorf("ValidateOutlierDetection failed on %v: got warn=%v but wanted warn=%v: %v", c.name, got.Warning == nil, c.warn, got.Warning) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 03:11:45 UTC 2024 - 196K bytes - Viewed (0) -
pkg/proxy/ipvs/proxier_test.go
} // Change service to load-balancer fp.OnServiceUpdate(servicev1, servicev2) result = fp.svcPortMap.Update(fp.serviceChanges) if len(fp.svcPortMap) != 2 { t.Errorf("expected service map length 2, got %v", fp.svcPortMap) } if len(result.DeletedUDPClusterIPs) != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 186.8K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/framework_test.go
t.Fatalf("Expected RunPermitPlugins to return status %v, but got %v", framework.Wait, runPermitPluginsStatus.Code()) } go tt.action(f) got := f.WaitOnPermit(ctx, pod) if !reflect.DeepEqual(tt.want, got) { t.Errorf("Unexpected status: want %v, but got %v", tt.want, got) } }) } } func TestListPlugins(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 103K bytes - Viewed (0)