summaryrefslogtreecommitdiffhomepage
path: root/runsc/container/container_test.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2019-12-18 17:09:08 -0800
committergVisor bot <gvisor-bot@google.com>2019-12-18 17:10:44 -0800
commit0d475cdb019e659c84e767a7d89452cd12332257 (patch)
tree77fd79a7fe89dc73cb772e4d2183ecf8ffe8ec9e /runsc/container/container_test.go
parent744401297a8c93ce5992ba99aa84f3dcdc19ae9e (diff)
Increase waitForProcessList timeout
It can take more than 10 seconds when running under --race. PiperOrigin-RevId: 286296060
Diffstat (limited to 'runsc/container/container_test.go')
-rw-r--r--runsc/container/container_test.go2
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 {