From 3b6bafefdf52c834c256a19604cba799c8e5106f Mon Sep 17 00:00:00 2001 From: ethernet Date: Thu, 24 Sep 2026 15:10:13 -0400 Subject: [PATCH] test(install/macos): give a just-launched historical app longer to Quit The v2026.7.1 app launched by the latest DMG was still starting its backend and did not finish a normal Quit within 30s. Wait up to 120s; the quit must still be the normal one (no force-kill). --- tests/install/macos-desktop-e2e.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/install/macos-desktop-e2e.sh b/tests/install/macos-desktop-e2e.sh index 41d3a6bdbb..818c14111b 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"); }