From d399476aab80386eeb930b061e556d1490282aab Mon Sep 17 00:00:00 2001 From: Nicolas De Loof Date: Thu, 15 Oct 2026 16:08:16 +0200 Subject: [PATCH] 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 --- pkg/e2e/watch_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/e2e/watch_test.go b/pkg/e2e/watch_test.go index f729133e8..5f62ecaaa 100644 --- a/pkg/e2e/watch_test.go +++ b/pkg/e2e/watch_test.go @@ -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() {