- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestSortingActivePods (0.21 sec)
-
pkg/controller/controller_utils_test.go
gotNames.Insert(pod.Name) } if diff := cmp.Diff(test.wantPodNames, gotNames.List()); diff != "" { t.Errorf("Active pod names (-want,+got):\n%s", diff) } }) } } func TestSortingActivePods(t *testing.T) { now := metav1.Now() then := metav1.Time{Time: now.AddDate(0, -1, 0)} tests := []struct { name string pods []v1.Pod wantOrder []string }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 39.4K bytes - Viewed (0)