Commit ab0b937c authored by Marek Grabowski's avatar Marek Grabowski Committed by GitHub

Merge pull request #32076 from wojtek-t/fix_density_test

Fix density test
parents 921ab507 8c1b80c6
...@@ -3367,7 +3367,7 @@ func DeleteRCAndWaitForGC(c *client.Client, ns, name string) error { ...@@ -3367,7 +3367,7 @@ func DeleteRCAndWaitForGC(c *client.Client, ns, name string) error {
if rc.Spec.Replicas < 5000 { if rc.Spec.Replicas < 5000 {
timeout = 10 * time.Minute timeout = 10 * time.Minute
} else { } else {
timeout = time.Duration(rc.Spec.Replicas / gcThroughput) timeout = time.Duration(rc.Spec.Replicas / gcThroughput) * time.Second
} }
err = waitForPodsInactive(ps, interval, timeout) err = waitForPodsInactive(ps, interval, timeout)
if err != nil { if err != nil {
......
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