From 0d475cdb019e659c84e767a7d89452cd12332257 Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Wed, 18 Dec 2019 17:09:08 -0800 Subject: Increase waitForProcessList timeout It can take more than 10 seconds when running under --race. PiperOrigin-RevId: 286296060 --- runsc/container/container_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3