From b8d15f821980e624e6d8e677627b7071e1b72beb Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 29 Apr 2026 00:37:55 +0100 Subject: [PATCH] test(parallels): retry macOS staged runtime mirror race --- scripts/e2e/parallels-macos-smoke.sh | 18 ++++++++++++++++-- test/scripts/parallels-smoke-model.test.ts | 1 + 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/scripts/e2e/parallels-macos-smoke.sh b/scripts/e2e/parallels-macos-smoke.sh index ff27557b452..d1a0255bcc4 100644 --- a/scripts/e2e/parallels-macos-smoke.sh +++ b/scripts/e2e/parallels-macos-smoke.sh @@ -1503,13 +1503,15 @@ show_gateway_status_compat() { } verify_turn() { - local agent_log agent_done agent_runner + local agent_log agent_done agent_runner attempt rc agent_log="/tmp/openclaw-parallels-agent-turn.log" agent_done="/tmp/openclaw-parallels-agent-turn.done" agent_runner="/tmp/openclaw-parallels-agent-turn.sh" guest_current_user_exec "$GUEST_NODE_BIN" "$GUEST_OPENCLAW_ENTRY" models set "$MODEL_ID" guest_current_user_exec "$GUEST_NODE_BIN" "$GUEST_OPENCLAW_ENTRY" config set agents.defaults.skipBootstrap true --strict-json - run_logged_guest_current_user_sh "$(cat < { expect(script).toContain('agent_log="/tmp/openclaw-parallels-agent-turn.log"'); expect(script).toContain("run_logged_guest_current_user_sh"); + expect(script).toContain("retrying macOS agent turn after staged runtime mirror race"); }); it("keeps the Windows first agent turn patient enough for cold package startup", () => {