Skip to content

Commit a448042

Browse files
committed
test(qa): extend restart boundary wait
1 parent a911070 commit a448042

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

extensions/qa-lab/src/gateway-child.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ import type { QaTransportAdapter } from "./qa-transport.js";
4444
export type { QaCliBackendAuthMode } from "./providers/env.js";
4545
const QA_GATEWAY_CHILD_STARTUP_MAX_ATTEMPTS = 5;
4646
const QA_GATEWAY_CHILD_RPC_RETRY_HEALTH_TIMEOUT_MS = 60_000;
47+
const QA_GATEWAY_CHILD_RESTART_BOUNDARY_TIMEOUT_MS = 90_000;
4748
const QA_GATEWAY_CHILD_BLOCKED_SECRET_ENV_VARS = Object.freeze([
4849
"OPENCLAW_QA_CONVEX_SECRET_CI",
4950
"OPENCLAW_QA_CONVEX_SECRET_MAINTAINER",
@@ -276,7 +277,7 @@ async function waitForQaGatewayRestartBoundary(params: {
276277
pollMs?: number;
277278
timeoutMs?: number;
278279
}) {
279-
const timeoutMs = params.timeoutMs ?? 30_000;
280+
const timeoutMs = params.timeoutMs ?? QA_GATEWAY_CHILD_RESTART_BOUNDARY_TIMEOUT_MS;
280281
const pollMs = params.pollMs ?? 100;
281282
const startedAt = Date.now();
282283
while (Date.now() - startedAt < timeoutMs) {

0 commit comments

Comments
 (0)