Skip to content

Commit 53b53ef

Browse files
committed
tidy up
Signed-off-by: Geoff Flarity <[email protected]>
1 parent 30cf782 commit 53b53ef

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

operator/e2e/tests/startup_ordering_test.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ func Test_SO2_InorderStartupOrderWithMinReplicas(t *testing.T) {
120120
defer cleanup()
121121

122122
logger.Info("2. Deploy workload WL4, and verify 10 newly created pods")
123-
124123
tc := TestContext{
125124
T: t,
126125
Ctx: ctx,
@@ -212,8 +211,7 @@ func Test_SO3_ExplicitStartupOrderWithFullReplicas(t *testing.T) {
212211
}
213212

214213
logger.Info("3. Wait for pods to get scheduled and become ready")
215-
if err := waitForPods(tc, tc.Workload.ExpectedPods); err != nil {
216-
debugPodState(tc)
214+
if err := waitForReadyPods(tc, tc.Workload.ExpectedPods); err != nil {
217215
t.Fatalf("Failed to wait for pods to be ready: %v", err)
218216
}
219217

@@ -561,7 +559,7 @@ func getPodsByCliquePattern(pods []v1.Pod, pattern string) []v1.Pod {
561559
}
562560

563561
// debugPodState logs detailed state information for all pods in the namespace.
564-
// This helps diagnose why pods might not be becoming Ready.
562+
// Use this to help diagnose why pods might not be becoming Ready.
565563
func debugPodState(tc TestContext) {
566564
pods, err := listPods(tc)
567565
if err != nil {

0 commit comments

Comments
 (0)