From 91371fef7acbc32f660f324271c3b32e02c144ad Mon Sep 17 00:00:00 2001 From: Nicolas De Loof Date: Wed, 21 Dec 2022 08:33:52 +0100 Subject: [PATCH] remove flaky TestLocalComposeLogsFollow Signed-off-by: Nicolas De Loof --- pkg/e2e/logs_test.go | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/pkg/e2e/logs_test.go b/pkg/e2e/logs_test.go index 42cc91cfa..42d47d050 100644 --- a/pkg/e2e/logs_test.go +++ b/pkg/e2e/logs_test.go @@ -56,22 +56,3 @@ func TestLocalComposeLogs(t *testing.T) { _ = c.RunDockerComposeCmd(t, "--project-name", projectName, "down") }) } - -func TestLocalComposeLogsFollow(t *testing.T) { - c := NewParallelCLI(t) - - const projectName = "compose-e2e-logs-restart" - - t.Run("up", func(t *testing.T) { - c.RunDockerComposeCmd(t, "-f", "./fixtures/logs-test/restart.yaml", "--project-name", projectName, "up", "-d") - }) - - t.Run("logs", func(t *testing.T) { - res := c.RunDockerComposeCmd(t, "--project-name", projectName, "logs", "--follow") - assert.Check(t, strings.Count(res.Combined(), "PING localhost (127.0.0.1)") == 2, res.Combined()) - }) - - t.Run("down", func(t *testing.T) { - _ = c.RunDockerComposeCmd(t, "--project-name", projectName, "down") - }) -}