From e55ab6fd91062860736b9fb3a121a8986ba1803b Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 22 Feb 2026 18:22:56 +0000 Subject: [PATCH] test(ci): harden background abort timing on windows --- src/agents/bash-tools.exec.background-abort.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agents/bash-tools.exec.background-abort.test.ts b/src/agents/bash-tools.exec.background-abort.test.ts index b65070f14a2..4767c265a8a 100644 --- a/src/agents/bash-tools.exec.background-abort.test.ts +++ b/src/agents/bash-tools.exec.background-abort.test.ts @@ -7,7 +7,7 @@ import { import { createExecTool } from "./bash-tools.exec.js"; import { killProcessTree } from "./shell-utils.js"; -const BACKGROUND_HOLD_CMD = 'node -e "setTimeout(() => {}, 100)"'; +const BACKGROUND_HOLD_CMD = 'node -e "setTimeout(() => {}, 5000)"'; const ABORT_SETTLE_MS = process.platform === "win32" ? 200 : 40; const ABORT_WAIT_TIMEOUT_MS = process.platform === "win32" ? 1_500 : 240; const POLL_INTERVAL_MS = 15;