Add debug information when mysql cannot start on ACI E2E test

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
This commit is contained in:
Guillaume Tardif 2020-10-13 09:24:45 +02:00
parent be4b9a6812
commit 9f5f1cc4c3
1 changed files with 1 additions and 1 deletions

View File

@ -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))
})