mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Increase waitForProcessList timeout
It can take more than 10 seconds when running under --race. PiperOrigin-RevId: 286296060
This commit is contained in:
committed by
gVisor bot
parent
744401297a
commit
0d475cdb01
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user