Explorar o código

dump stdout to help diagnose flaky test

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De Loof %!s(int64=3) %!d(string=hai) anos
pai
achega
dacf24374d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pkg/e2e/logs_test.go

+ 1 - 1
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) {