mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
Increase timeout for pods GC in tests
This commit is contained in:
parent
606e8fb34a
commit
8f0006e8f8
@ -3368,6 +3368,8 @@ func DeleteRCAndWaitForGC(c *client.Client, ns, name string) error {
|
|||||||
timeout = 10 * time.Minute
|
timeout = 10 * time.Minute
|
||||||
} else {
|
} else {
|
||||||
timeout = time.Duration(rc.Spec.Replicas/gcThroughput) * time.Second
|
timeout = time.Duration(rc.Spec.Replicas/gcThroughput) * time.Second
|
||||||
|
// gcThroughput is pretty strict now, add a bit more to it
|
||||||
|
timeout = timeout + 3*time.Minute
|
||||||
}
|
}
|
||||||
err = waitForPodsInactive(ps, interval, timeout)
|
err = waitForPodsInactive(ps, interval, timeout)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user