- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for expectList (0.15 sec)
-
pkg/controller/job/job_controller_test.go
} if len(gotList) != len(tc.expectList) { t.Errorf("got a list of length %d, want %d", len(gotList), len(tc.expectList)) } if diff := cmp.Diff(tc.expectList, gotList, cmpopts.IgnoreFields(batch.JobCondition{}, "LastProbeTime", "LastTransitionTime")); diff != "" { t.Errorf("Unexpected JobCondition list: (-want,+got):\n%s", diff) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 15:36:36 UTC 2024 - 229.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go
obj map[string]interface{} expectCost map[string]int64 }{ {name: "integers", // 1st obj and schema args are for "self.val1" field, 2nd for "self.val2" and so on. obj: objs(math.MaxInt64, math.MaxInt64, math.MaxInt32, math.MaxInt32, math.MaxInt64, math.MaxInt64), schema: schemas(integerType, integerType, int32Type, int32Type, int64Type, int64Type), expectCost: map[string]int64{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:20:16 UTC 2024 - 80.2K bytes - Viewed (0) -
operator/pkg/translate/translate_test.go
` cases := []struct { name string iopString string expectValue string expectExist bool }{ { name: "without appProtocol", iopString: iopString, expectExist: false, }, { name: "with appProtocol", iopString: iopString2, expectExist: true, expectValue: "HTTP", }, } for _, tt := range cases {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 12 19:43:09 UTC 2024 - 5.1K bytes - Viewed (0) -
pilot/pkg/leaderelection/leaderelection_test.go
completions.Add(1) }) // Expect to run once expectInt(t, completions.Load, 1) // drop RBAC permissions to update the configmap // This simulates loosing an active lease allowRbac.Store(false) // We should start a new cycle at this point expectInt(t, l.cycle.Load, 2) // Add configmap permission back allowRbac.Store(true)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 11.4K bytes - Viewed (0) -
src/net/http/serve_test.go
// Normal 100-continues, case-insensitive. expectTest(100, "100-continue", true, "100 Continue"), expectTest(100, "100-cOntInUE", true, "100 Continue"), // No 100-continue. expectTest(100, "", true, "200 OK"), // 100-continue but requesting client to deny us, // so it never reads the body. expectTest(100, "100-continue", false, "401 Unauthorized"), // Likewise without 100-continue:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0)