From dacf24374d100a8284bc62bb7daf0cf0dd194e91 Mon Sep 17 00:00:00 2001 From: Nicolas De Loof Date: Tue, 20 Dec 2022 23:50:37 +0100 Subject: [PATCH] dump stdout to help diagnose flaky test Signed-off-by: Nicolas De Loof --- pkg/e2e/logs_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/e2e/logs_test.go b/pkg/e2e/logs_test.go index 68d06bd6..42cc91cf 100644 --- a/pkg/e2e/logs_test.go +++ b/pkg/e2e/logs_test.go @@ -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) {