diff options
author | Fabricio Voznika <fvoznika@google.com> | 2019-12-18 17:09:08 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-12-18 17:10:44 -0800 |
commit | 0d475cdb019e659c84e767a7d89452cd12332257 (patch) | |
tree | 77fd79a7fe89dc73cb772e4d2183ecf8ffe8ec9e | |
parent | 744401297a8c93ce5992ba99aa84f3dcdc19ae9e (diff) |
Increase waitForProcessList timeout
It can take more than 10 seconds when running under --race.
PiperOrigin-RevId: 286296060
-rw-r--r-- | runsc/container/container_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/container/container_test.go b/runsc/container/container_test.go index 2ced028f6..c10f85992 100644 --- a/runsc/container/container_test.go +++ b/runsc/container/container_test.go @@ -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 { |