Skip to content

Commit c79aabd

Browse files
committed
discard stdout for laaarge log test
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent eb5f7d7 commit c79aabd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/e2e/logs_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ func TestLocalComposeLargeLogs(t *testing.T) {
116116
}
117117
assert.NilError(t, f.Close())
118118

119-
res := c.RunDockerComposeCmd(t, "-f", "./fixtures/logs-test/cat.yaml", "--project-name", projectName, "up", "--abort-on-container-exit")
119+
cmd := c.NewDockerComposeCmd(t, "-f", "./fixtures/logs-test/cat.yaml", "--project-name", projectName, "up", "--abort-on-container-exit")
120+
cmd.Stdout = io.Discard
121+
res := icmd.RunCmd(cmd)
120122
res.Assert(t, icmd.Expected{Out: "test-1 exited with code 0"})
121123
}
122124

0 commit comments

Comments
 (0)