test: tighten process timeout thresholds with stabilized emit guard

This commit is contained in:
Peter Steinberger
2026-02-16 05:09:41 +00:00
parent 39fa81dc96
commit 9684ae4c6d
2 changed files with 4 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ describe("runCommandWithTimeout", () => {
[process.execPath, "-e", "setTimeout(() => {}, 10_000)"],
{
timeoutMs: 5_000,
noOutputTimeoutMs: 60,
noOutputTimeoutMs: 50,
},
);
@@ -59,7 +59,7 @@ describe("runCommandWithTimeout", () => {
],
{
timeoutMs: 5_000,
noOutputTimeoutMs: 120,
noOutputTimeoutMs: 160,
},
);
@@ -73,7 +73,7 @@ describe("runCommandWithTimeout", () => {
const result = await runCommandWithTimeout(
[process.execPath, "-e", "setTimeout(() => {}, 10_000)"],
{
timeoutMs: 20,
timeoutMs: 15,
},
);