From 3a06e1fde01e478ee8917d172a0c716efc312722 Mon Sep 17 00:00:00 2001 From: Guillaume Tardif Date: Mon, 11 Jan 2021 11:15:17 +0100 Subject: [PATCH] Do not fil on first error on ACI restart, allow trying a second time Signed-off-by: Guillaume Tardif --- tests/aci-e2e/e2e-aci_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/aci-e2e/e2e-aci_test.go b/tests/aci-e2e/e2e-aci_test.go index 536ff779..3bcdea55 100644 --- a/tests/aci-e2e/e2e-aci_test.go +++ b/tests/aci-e2e/e2e-aci_test.go @@ -477,7 +477,7 @@ func TestContainerRunAttached(t *testing.T) { }) t.Run("restart container", func(t *testing.T) { - res := c.RunDockerCmd("start", container) + res := c.RunDockerOrExitError("start", container) //Flaky errors on restart : Code="ContainerGroupTransitioning" Message="The container group 'test-container' is still transitioning, please retry later." if res.ExitCode != 0 && strings.Contains(res.Stderr(), `Code="ContainerGroupTransitioning"`) { time.Sleep(3 * time.Second)