Speedup pod deletion in density test

This commit is contained in:
Wojciech Tyczynski 2016-09-16 16:14:33 +02:00
parent a665002d80
commit 5aed7aef22

View File

@ -3415,7 +3415,7 @@ func DeleteRCAndWaitForGC(c *client.Client, ns, name string) error {
}
terminatePodTime := time.Now().Sub(startTime) - deleteRCTime
Logf("Terminating RC %s pods took: %v", name, terminatePodTime)
err = waitForPodsGone(ps, 10*time.Second, 10*time.Minute)
err = waitForPodsGone(ps, interval, 10*time.Minute)
if err != nil {
return fmt.Errorf("error while waiting for pods gone %s: %v", name, err)
}