From 9c45420e91136fc7ec00af6d46a8862632204632 Mon Sep 17 00:00:00 2001 From: OrcaWin Date: Sat, 7 Nov 2026 18:50:57 -0800 Subject: [PATCH] test(orchestration): give the structured-worker retry suite a load-proof readiness budget (#39671) Five refused provider opens can outlast a 2s real-time budget on a loaded host, so the preamble resolves 'unobserved' instead of throwing the refusal under test. Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> --- .../orchestration-structured-worker-retry.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/runtime/rpc/methods/orchestration/structured-workers/orchestration-structured-worker-retry.test.ts b/src/main/runtime/rpc/methods/orchestration/structured-workers/orchestration-structured-worker-retry.test.ts index 710e8ac6545..0bfc84016b6 100644 --- a/src/main/runtime/rpc/methods/orchestration/structured-workers/orchestration-structured-worker-retry.test.ts +++ b/src/main/runtime/rpc/methods/orchestration/structured-workers/orchestration-structured-worker-retry.test.ts @@ -119,7 +119,8 @@ async function createWorker() { coordinatorHandle: 'term_coordinator', devMode: false, requestId: 'request-retry', - readinessTimeoutMs: 2000 + // Why: real-time budget; five refused opens can outlast 2s on a loaded host and turn refusal into a timeout. + readinessTimeoutMs: 20_000 }) return { runtime, created, workerRuntime, deliverPreamble } }