Skip to content

Commit 91371fe

Browse files
committed
remove flaky TestLocalComposeLogsFollow
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 986bc44 commit 91371fe

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

pkg/e2e/logs_test.go

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -56,22 +56,3 @@ func TestLocalComposeLogs(t *testing.T) {
5656
_ = c.RunDockerComposeCmd(t, "--project-name", projectName, "down")
5757
})
5858
}
59-
60-
func TestLocalComposeLogsFollow(t *testing.T) {
61-
c := NewParallelCLI(t)
62-
63-
const projectName = "compose-e2e-logs-restart"
64-
65-
t.Run("up", func(t *testing.T) {
66-
c.RunDockerComposeCmd(t, "-f", "./fixtures/logs-test/restart.yaml", "--project-name", projectName, "up", "-d")
67-
})
68-
69-
t.Run("logs", func(t *testing.T) {
70-
res := c.RunDockerComposeCmd(t, "--project-name", projectName, "logs", "--follow")
71-
assert.Check(t, strings.Count(res.Combined(), "PING localhost (127.0.0.1)") == 2, res.Combined())
72-
})
73-
74-
t.Run("down", func(t *testing.T) {
75-
_ = c.RunDockerComposeCmd(t, "--project-name", projectName, "down")
76-
})
77-
}

0 commit comments

Comments
 (0)