const noIndex … func TestCalculateSucceededIndexes(t *testing.T) { … } func TestIsIndexFailed(t *testing.T) { … } func TestCalculateFailedIndexes(t *testing.T) { … } func TestGetPodsWithDelayedDeletionPerIndex(t *testing.T) { … } func TestGetNewIndexFailureCountValue(t *testing.T) { … } func TestIntervalsHaveIndex(t *testing.T) { … } func TestFirstPendingIndexes(t *testing.T) { … } func TestAppendDuplicatedIndexPodsForRemoval(t *testing.T) { … } func TestPodGenerateNameWithIndex(t *testing.T) { … } func TestGetIndexFailureCount(t *testing.T) { … } func hollowPodsWithIndexPhase(descs []indexPhase) []*v1.Pod { … } type indexPhase … func toIndexPhases(pods []*v1.Pod) []indexPhase { … }