test: trim process no-output timeout waits

feature/PAZ-358-fe-credit-error-display
Peter Steinberger 9 months ago
parent 3e1986f119
commit bc65e787c8

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

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

Loading…
Cancel
Save