mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 15:30:39 +00:00
test: further reduce process timeout waits in fast suites
This commit is contained in:
@@ -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,
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user