mirror of https://github.com/docker/compose.git
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:
commit
b1382c9dc3
|
@ -810,7 +810,7 @@ func TestRunEnvVars(t *testing.T) {
|
||||||
if strings.Contains(res.Stdout(), "Giving user user1 access to schema mytestdb") {
|
if strings.Contains(res.Stdout(), "Giving user user1 access to schema mytestdb") {
|
||||||
return poll.Success()
|
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))
|
poll.WaitOn(t, check, poll.WithDelay(5*time.Second), poll.WithTimeout(90*time.Second))
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue