test: trim background hold duration in abort coverage

This commit is contained in:
Peter Steinberger
2026-02-22 12:38:57 +00:00
parent 00eb2541dc
commit 2c40a20737

View File

@@ -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;