mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 04:00:43 +00:00
test(release): retry staged runtime mirror races
This commit is contained in:
@@ -110,6 +110,13 @@ describe("scripts/openclaw-cross-os-release-checks", () => {
|
||||
new Error("document-extract failed to stage bundled runtime deps after 463ms"),
|
||||
),
|
||||
).toBe(true);
|
||||
expect(
|
||||
shouldRetryCrossOsAgentTurnError(
|
||||
new Error(
|
||||
"PluginLoadFailureError: plugin load failed: qqbot: Error: ENOENT: no such file or directory, open '/tmp/home/.openclaw/plugin-runtime-deps/openclaw-2026.4.27-beta.1/dist/console-DnTGmMkY.js'",
|
||||
),
|
||||
),
|
||||
).toBe(true);
|
||||
expect(shouldRetryCrossOsAgentTurnError(new Error("Agent output did not contain OK."))).toBe(
|
||||
false,
|
||||
);
|
||||
|
||||
@@ -54,4 +54,11 @@ describe("Parallels smoke model selection", () => {
|
||||
expect(script).toContain("deadline=$((SECONDS + TIMEOUT_GATEWAY_S))");
|
||||
expect(script).toContain("gateway status --deep --require-rpc --timeout 30000");
|
||||
});
|
||||
|
||||
it("runs the macOS agent turn through the logged guest runner", () => {
|
||||
const script = readFileSync("scripts/e2e/parallels-macos-smoke.sh", "utf8");
|
||||
|
||||
expect(script).toContain('agent_log="/tmp/openclaw-parallels-agent-turn.log"');
|
||||
expect(script).toContain("run_logged_guest_current_user_sh");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user