From 2c40a20737012259ebfe46b70080c44fefc7c3ca Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 22 Feb 2026 12:38:57 +0000 Subject: [PATCH] test: trim background hold duration in abort coverage --- 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 967cbf0f3..00f705589 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(() => {}, 250)"'; +const BACKGROUND_HOLD_CMD = 'node -e "setTimeout(() => {}, 150)"'; const ABORT_SETTLE_MS = process.platform === "win32" ? 200 : 60; const ABORT_WAIT_TIMEOUT_MS = process.platform === "win32" ? 1_500 : 320; const POLL_INTERVAL_MS = 15;