From 7d093b43409bf4cf1581cc0b6272513d7138dfa3 Mon Sep 17 00:00:00 2001 From: Nicholas Daffern Date: Mon, 3 Apr 2023 10:03:08 +0100 Subject: [PATCH] Increase timeout in Container tests for qmgr to become ready (#417) Signed-off-by: Nicholas-Daffern --- test/container/docker_api_test_util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/container/docker_api_test_util.go b/test/container/docker_api_test_util.go index 89e4cc5..36497ab 100644 --- a/test/container/docker_api_test_util.go +++ b/test/container/docker_api_test_util.go @@ -551,7 +551,7 @@ func execContainer(t *testing.T, cli ce.ContainerInterface, ID string, user stri func waitForReady(t *testing.T, cli ce.ContainerInterface, ID string) { - ctx, cancel := context.WithTimeout(context.Background(), 2*time.Minute) + ctx, cancel := context.WithTimeout(context.Background(), 4*time.Minute) defer cancel() for {