mirror of https://github.com/docker/compose.git
discard stdout for laaarge log test
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
eb5f7d76fe
commit
c79aabde32
|
@ -116,7 +116,9 @@ func TestLocalComposeLargeLogs(t *testing.T) {
|
||||||
}
|
}
|
||||||
assert.NilError(t, f.Close())
|
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"})
|
res.Assert(t, icmd.Expected{Out: "test-1 exited with code 0"})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue