mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
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 <lauralorenz@google.com>
This commit is contained in:
parent
59f9858086
commit
9ab0d81d76
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user