Merge pull request #766 from docker/debug_aci_db_error

Add debug information when mysql cannot start on ACI E2E test
This commit is contained in:
Guillaume Tardif 2020-10-13 12:09:00 +02:00 committed by GitHub
commit b1382c9dc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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))
})