dump stdout to help diagnose flaky test

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2022-12-20 23:50:37 +01:00
parent bab3050984
commit dacf24374d
No known key found for this signature in database
GPG Key ID: 9858809D6F8F6E7E
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ func TestLocalComposeLogsFollow(t *testing.T) {
t.Run("logs", func(t *testing.T) {
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) {