test: trim exec timeout waits for faster suite runtime

This commit is contained in:
Peter Steinberger
2026-02-16 04:41:41 +00:00
parent 4f5bc0a493
commit c53e4e6c8f

View File

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