mirror of
https://github.com/docker/compose.git
synced 2025-07-23 13:45:00 +02:00
dump stdout to help diagnose flaky test
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
bab3050984
commit
dacf24374d
@ -68,7 +68,7 @@ func TestLocalComposeLogsFollow(t *testing.T) {
|
|||||||
|
|
||||||
t.Run("logs", func(t *testing.T) {
|
t.Run("logs", func(t *testing.T) {
|
||||||
res := c.RunDockerComposeCmd(t, "--project-name", projectName, "logs", "--follow")
|
res := c.RunDockerComposeCmd(t, "--project-name", projectName, "logs", "--follow")
|
||||||
assert.Check(t, strings.Count(res.Combined(), "PING localhost (127.0.0.1)") == 2)
|
assert.Check(t, strings.Count(res.Combined(), "PING localhost (127.0.0.1)") == 2, res.Combined())
|
||||||
})
|
})
|
||||||
|
|
||||||
t.Run("down", func(t *testing.T) {
|
t.Run("down", func(t *testing.T) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user