mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-25 03:04:29 -04:00
test: trim process no-output timeout waits
This commit is contained in:
@@ -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,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user