test: trim process no-output timeout waits

This commit is contained in:
Peter Steinberger
2026-02-16 04:17:31 +00:00
parent 3e1986f119
commit bc65e787c8
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ describe("runCommandWithTimeout", () => {
[process.execPath, "-e", "setTimeout(() => {}, 10_000)"], [process.execPath, "-e", "setTimeout(() => {}, 10_000)"],
{ {
timeoutMs: 5_000, timeoutMs: 5_000,
noOutputTimeoutMs: 120, noOutputTimeoutMs: 100,
}, },
); );

View File

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