- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestAscendingOrdinal (0.17 sec)
-
pkg/controller/statefulset/stateful_set_utils_test.go
podutil.UpdatePodCondition(&pod.Status, &condition) if !isRunningAndReady(pod) { t.Error("Pod should be running and ready") } } func TestAscendingOrdinal(t *testing.T) { set := newStatefulSet(10) pods := make([]*v1.Pod, 10) perm := rand.Perm(10) for i, v := range perm { pods[i] = newStatefulSetPod(set, v) } sort.Sort(ascendingOrdinal(pods))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 50.9K bytes - Viewed (0)