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:
Nicolas De Loof 2026-10-15 16:08:16 +02:00 • committed by Nicolas De loof
parent a76e3ce47a
commit d399476aab

View file

@ -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() {