Selaa lähdekoodia

dump stdout to help diagnose flaky test

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De Loof 3 vuotta sitten
vanhempi
sitoutus
dacf24374d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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) {