Wait longer in pod cleanup

parent 585af4a2
......@@ -2080,11 +2080,6 @@ func AssertCleanup(ns string, selectors ...string) {
nsArg = fmt.Sprintf("--namespace=%s", ns)
}
backoff := wait.Backoff{
Duration: 5 * time.Second,
Factor: 2,
Steps: 3,
}
var e error
verifyCleanupFunc := func() (bool, error) {
e = nil
......@@ -2102,7 +2097,7 @@ func AssertCleanup(ns string, selectors ...string) {
}
return true, nil
}
err := wait.ExponentialBackoff(backoff, verifyCleanupFunc)
err := wait.PollImmediate(500*time.Millisecond, 1*time.Minute, verifyCleanupFunc)
if err != nil {
Failf(e.Error())
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment