From cd0e62f5c9d04072c0e6c666f3633ee081fa8297 Mon Sep 17 00:00:00 2001 From: Phil Estes Date: Thu, 23 Apr 2020 10:29:19 -0400 Subject: [PATCH] Allow more time for containerd to start for integration Currently hardcoded to 2 seconds; in GitHub actions we see random cancellation of our integration suite right at 2 seconds even though containerd is within milliseconds of being ready. Signed-off-by: Phil Estes --- client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client_test.go b/client_test.go index fd9cb7643..b706167e3 100644 --- a/client_test.go +++ b/client_test.go @@ -108,7 +108,7 @@ func TestMain(m *testing.M) { } } - waitCtx, waitCancel := context.WithTimeout(ctx, 2*time.Second) + waitCtx, waitCancel := context.WithTimeout(ctx, 4*time.Second) client, err := ctrd.waitForStart(waitCtx) waitCancel() if err != nil {