fix(ci): increase timeouts in flaky process-group signal test

The 'forwards external termination to command process groups' test
was flaky on loaded CI runners. Increase OPENCLAW_CROSS_OS_PROCESS_TREE_KILL_AFTER_MS
from 25ms to 200ms and waitForDead timeout from 2s to 10s to give
slow runners enough time to deliver SIGKILL to the child process group.
This commit is contained in:
Jason O'Neal
2026-06-20 22:51:19 -04:00
committed by Peter Steinberger
parent 1a5b0f9418
commit 5ebe334a96

View File

@@ -1370,7 +1370,7 @@ describe("scripts/openclaw-cross-os-release-checks", () => {
cwd: process.cwd(),
env: {
...process.env,
OPENCLAW_CROSS_OS_PROCESS_TREE_KILL_AFTER_MS: "25",
OPENCLAW_CROSS_OS_PROCESS_TREE_KILL_AFTER_MS: "200",
OPENCLAW_TEST_CHILD_PID: childPidPath,
},
stdio: ["ignore", "ignore", "pipe"],
@@ -1384,7 +1384,7 @@ describe("scripts/openclaw-cross-os-release-checks", () => {
const result = await waitForExit(runner, 5_000);
expect(result).toEqual({ signal: null, status: 143 });
await waitForDead(childPid, 2_000);
await waitForDead(childPid, 10_000);
} finally {
if (runnerPid !== undefined && isProcessAlive(runnerPid)) {
process.kill(runnerPid, "SIGKILL");