mirror of
https://github.com/docker/compose.git
synced 2026-11-23 16:40:25 +00:00
test(e2e): follow the rebuild failure message in the dotenv rebuild test
The rebuild now reports "Failed to recreate and restart service(s) after update" instead of "Application failed to start after update", which TestRebuildOnDotEnvWithExternalNetwork still asserted was absent: the string no longer existed anywhere, so the check could never fail and the test no longer detected a failed rebuild. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
a76e3ce47a
commit
d399476aab
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ func TestRebuildOnDotEnvWithExternalNetwork(t *testing.T) {
|
|||
pn2 := c.RunDockerCmd(t, "inspect", containerName, "-f", "{{ .HostConfig.NetworkMode }}")
|
||||
assert.Equal(t, strings.TrimSpace(pn2.Stdout()), networkName)
|
||||
|
||||
assert.Check(t, !strings.Contains(r.Combined(), "Application failed to start after update"))
|
||||
assert.Check(t, !strings.Contains(r.Combined(), "Failed to recreate and restart"))
|
||||
|
||||
t.Cleanup(cleanup)
|
||||
t.Cleanup(func() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue