- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for wantConditions (0.12 sec)
-
pkg/controller/disruption/disruption_test.go
}) } } func TestStalePodDisruption(t *testing.T) { now := time.Now() cases := map[string]struct { pod *v1.Pod timePassed time.Duration wantConditions []v1.PodCondition }{ "stale pod disruption": { pod: &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "foo", Namespace: metav1.NamespaceDefault, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 50K bytes - Viewed (0) -
pkg/controller/job/job_controller_test.go
manager.syncJob(context.TODO(), testutil.GetKey(job, t)) if tc.wantConditions != nil { for _, wantCondition := range *tc.wantConditions { conditions := getConditionsByType(actual.Status.Conditions, wantCondition.Type) if len(conditions) != 1 { t.Fatalf("Expected a single completion condition. Got %#v for type: %q", conditions, wantCondition.Type) } condition := *conditions[0]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 15:36:36 UTC 2024 - 229.2K bytes - Viewed (0)