Merge pull request #32076 from wojtek-t/fix_density_test

Fix density test
This commit is contained in:
Marek Grabowski 2016-09-05 14:07:51 +02:00 committed by GitHub
commit ab0b937c2e

View File

@ -3367,7 +3367,7 @@ func DeleteRCAndWaitForGC(c *client.Client, ns, name string) error {
if rc.Spec.Replicas < 5000 {
timeout = 10 * time.Minute
} else {
timeout = time.Duration(rc.Spec.Replicas / gcThroughput)
timeout = time.Duration(rc.Spec.Replicas / gcThroughput) * time.Second
}
err = waitForPodsInactive(ps, interval, timeout)
if err != nil {