Skip to content

The agent that grows with you

test(install/macos): give a just-launched historical app longer to Quit

ethernet3b6bafefdf52
diff --git a/tests/install/macos-desktop-e2e.sh b/tests/install/macos-desktop-e2e.sh
index 41d3a6bdbb9..818c14111b2 100755
--- a/tests/install/macos-desktop-e2e.sh
+++ b/tests/install/macos-desktop-e2e.sh
@@ -258,7 +258,10 @@ phase_install() {
const app = apps.objectAtIndex(i);
if (app.executableURL && ObjC.unwrap(app.executableURL.path) === args[0]) {
if (!app.terminate) throw new Error("normal Quit refused");
- const deadline = Date.now() + 30000;
+ // A historical app (v2026.7.1) that the bootstrap launched moments ago
+ // was seen not to finish quitting within 30s while its backend was
+ // still starting. Allow longer, but the quit must stay the normal one.
+ const deadline = Date.now() + 120000;
while (!app.terminated && Date.now() < deadline) delay(0.2);
if (!app.terminated) throw new Error("installed app did not quit normally");
}