Skip to content

Commit

Permalink
Now that sleep is shorter, only expect to reach 3 within 30s
Browse files Browse the repository at this point in the history
Focused too much on the container restart one in commit that fixed that

Signed-off-by: Laura Lorenz <[email protected]>
  • Loading branch information
lauralorenz committed Nov 13, 2024
1 parent 59f9858 commit 9ab0d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e_node/image_pull_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ var _ = SIGDescribe("Pull Image", feature.CriProxy, framework.WithSerial(), func
e, err := getImagePullAttempts(ctx, f, pod.Name)
framework.ExpectNoError(err)
// 3 would take 10s best case.
gomega.Expect(e.Count).Should(gomega.BeNumerically(">", 3))
gomega.Expect(e.Count).Should(gomega.BeNumerically(">=", 3))
// 7 would take 310s best case, if the infra went slow.
gomega.Expect(e.Count).Should(gomega.BeNumerically("<=", 7))

Expand Down

0 comments on commit 9ab0d81

Please sign in to comment.