Increase waitForProcessList timeout

It can take more than 10 seconds when running under --race.

PiperOrigin-RevId: 286296060
This commit is contained in:
Fabricio Voznika
2019-12-18 17:10:44 -08:00
committed by gVisor bot
parent 744401297a
commit 0d475cdb01
+1 -1
View File
@@ -60,7 +60,7 @@ func waitForProcessList(cont *Container, want []*control.Process) error {
return nil
}
// Gives plenty of time as tests can run slow under --race.
return testutil.Poll(cb, 10*time.Second)
return testutil.Poll(cb, 30*time.Second)
}
func waitForProcessCount(cont *Container, want int) error {