mirror of https://github.com/openclaw/openclaw.git
test: further reduce process timeout waits in fast suites
This commit is contained in:
parent
795874711b
commit
0b780789bc
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue