Skip to content

Commit 4dd4fb4

Browse files
committed
test(agent): widen ceiling-resume margin in stale-resume watchdog test
B's ceiling fires at ~240ms and the remaining ~120ms budget expires at ~360ms; the old 370ms check left 10ms of slack and flaked on CI.
1 parent 925b755 commit 4dd4fb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/agent/tool-execution-watchdog.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ describe("tool execution watchdog", () => {
650650
await new Promise((r) => setTimeout(r, 150));
651651
expect(budget.signal.aborted).toBe(false);
652652
// B's ceiling eventually force-resumes it on its own account.
653-
await new Promise((r) => setTimeout(r, 70));
653+
await new Promise((r) => setTimeout(r, 120));
654654
expect(budget.signal.aborted).toBe(true);
655655
budget.resume(tokenB);
656656
budget.dispose();

0 commit comments

Comments
 (0)