|
|
@@ -116,7 +116,9 @@ func TestLocalComposeLargeLogs(t *testing.T) {
|
|
|
}
|
|
|
assert.NilError(t, f.Close())
|
|
|
|
|
|
- res := c.RunDockerComposeCmd(t, "-f", "./fixtures/logs-test/cat.yaml", "--project-name", projectName, "up", "--abort-on-container-exit")
|
|
|
+ cmd := c.NewDockerComposeCmd(t, "-f", "./fixtures/logs-test/cat.yaml", "--project-name", projectName, "up", "--abort-on-container-exit")
|
|
|
+ cmd.Stdout = io.Discard
|
|
|
+ res := icmd.RunCmd(cmd)
|
|
|
res.Assert(t, icmd.Expected{Out: "test-1 exited with code 0"})
|
|
|
}
|
|
|
|