test(parallels): budget Windows agent retry

This commit is contained in:
Peter Steinberger
2026-05-01 15:59:24 +01:00
parent 8b62e0fa96
commit 76c8f9ac3f
2 changed files with 4 additions and 3 deletions

View File

@@ -397,7 +397,7 @@ class WindowsSmoke {
this.status.freshGateway = "pass";
await this.phase(
"fresh.first-agent-turn",
Number(process.env.OPENCLAW_PARALLELS_WINDOWS_AGENT_TIMEOUT_S || 900),
Number(process.env.OPENCLAW_PARALLELS_WINDOWS_AGENT_TIMEOUT_S || 1500),
() => this.verifyTurn(),
);
this.status.freshAgent = "pass";
@@ -453,7 +453,7 @@ class WindowsSmoke {
this.status.upgradeGateway = "pass";
await this.phase(
"upgrade.first-agent-turn",
Number(process.env.OPENCLAW_PARALLELS_WINDOWS_AGENT_TIMEOUT_S || 900),
Number(process.env.OPENCLAW_PARALLELS_WINDOWS_AGENT_TIMEOUT_S || 1500),
() => this.verifyTurn(),
);
this.status.upgradeAgent = "pass";
@@ -936,7 +936,7 @@ for ($attempt = 1; $attempt -le 2; $attempt++) {
}
}
if (-not $agentOk) { throw 'openclaw agent finished without OK response' }`,
Number(process.env.OPENCLAW_PARALLELS_WINDOWS_AGENT_TIMEOUT_S || 900) * 1000,
Number(process.env.OPENCLAW_PARALLELS_WINDOWS_AGENT_TIMEOUT_S || 1500) * 1000,
);
}