test: further reduce process timeout waits in fast suites

This commit is contained in:
Peter Steinberger
2026-02-16 04:48:55 +00:00
parent 795874711b
commit 0b780789bc
2 changed files with 3 additions and 3 deletions

View File

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

View File

@@ -26,7 +26,7 @@ describe("process supervisor", () => {
mode: "child",
argv: [process.execPath, "-e", "setTimeout(() => {}, 10_000)"],
timeoutMs: 5_000,
noOutputTimeoutMs: 45,
noOutputTimeoutMs: 35,
stdinMode: "pipe-closed",
});
const exit = await run.wait();