mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-09 03:22:40 +00:00
test: speed up and stabilize full suite
This commit is contained in:
@@ -13,6 +13,7 @@ const repoRoot = path.resolve(here, "..");
|
||||
const uiDir = path.join(repoRoot, "ui");
|
||||
|
||||
const WINDOWS_CMD_EXE_EXTENSIONS = new Set([".cmd", ".bat"]);
|
||||
const FORWARDED_SIGNAL_KILL_GRACE_MS = 250;
|
||||
|
||||
function usage() {
|
||||
// keep this tiny; it's invoked from npm scripts too
|
||||
@@ -140,7 +141,7 @@ function runSpawnCall(spawnCall, label) {
|
||||
forwardedSignalDrainTimer = setInterval(waitForForwardedSignalChildren, 25);
|
||||
forceKillTimer = setTimeout(() => {
|
||||
signalProcessTree(child, "SIGKILL", forwardedSignalPids);
|
||||
}, 5_000);
|
||||
}, FORWARDED_SIGNAL_KILL_GRACE_MS);
|
||||
forceKillTimer.unref?.();
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user