Skip to content

Commit b5d5fc7

Browse files
committed
Reduce time.Sleep from 15 to 1 second
Signed-off-by: joshvanl <me@joshvanl.dev>
1 parent 30a3f64 commit b5d5fc7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/e2e/common/common.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,7 @@ func waitPodDeletionDev(t *testing.T, done, podsDeleted chan struct{}) {
12371237
if len(found) == 2 {
12381238
podsDeleted <- struct{}{}
12391239
}
1240-
time.Sleep(15 * time.Second)
1240+
time.Sleep(1 * time.Second)
12411241
}
12421242
}
12431243

@@ -1261,7 +1261,7 @@ func waitPodDeletion(t *testing.T, done, podsDeleted chan struct{}) {
12611261
if len(list.Items) == 0 {
12621262
podsDeleted <- struct{}{}
12631263
}
1264-
time.Sleep(15 * time.Second)
1264+
time.Sleep(1 * time.Second)
12651265
}
12661266
}
12671267

@@ -1301,7 +1301,7 @@ func waitAllPodsRunning(t *testing.T, namespace string, haEnabled bool, done, po
13011301
podsRunning <- struct{}{}
13021302
}
13031303

1304-
time.Sleep(15 * time.Second)
1304+
time.Sleep(1 * time.Second)
13051305
}
13061306
}
13071307

0 commit comments

Comments
 (0)