Skip to content

Commit 9ab0d81

Browse files
committed
Now that sleep is shorter, only expect to reach 3 within 30s
Focused too much on the container restart one in commit that fixed that Signed-off-by: Laura Lorenz <[email protected]>
1 parent 59f9858 commit 9ab0d81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e_node/image_pull_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ var _ = SIGDescribe("Pull Image", feature.CriProxy, framework.WithSerial(), func
263263
e, err := getImagePullAttempts(ctx, f, pod.Name)
264264
framework.ExpectNoError(err)
265265
// 3 would take 10s best case.
266-
gomega.Expect(e.Count).Should(gomega.BeNumerically(">", 3))
266+
gomega.Expect(e.Count).Should(gomega.BeNumerically(">=", 3))
267267
// 7 would take 310s best case, if the infra went slow.
268268
gomega.Expect(e.Count).Should(gomega.BeNumerically("<=", 7))
269269

0 commit comments

Comments
 (0)