Prechádzať zdrojové kódy

Add debug information when mysql cannot start on ACI E2E test

Signed-off-by: Guillaume Tardif <[email protected]>
Guillaume Tardif 5 rokov pred
rodič
commit
9f5f1cc4c3
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      tests/aci-e2e/e2e-aci_test.go

+ 1 - 1
tests/aci-e2e/e2e-aci_test.go

@@ -810,7 +810,7 @@ func TestRunEnvVars(t *testing.T) {
 			if strings.Contains(res.Stdout(), "Giving user user1 access to schema mytestdb") {
 				return poll.Success()
 			}
-			return poll.Continue("waiting for DB container to be up")
+			return poll.Continue("waiting for DB container to be up\n%s", res.Combined())
 		}
 		poll.WaitOn(t, check, poll.WithDelay(5*time.Second), poll.WithTimeout(90*time.Second))
 	})