test(memory): clean up qmd fixture gracefully

This commit is contained in:
Peter Steinberger
2026-06-23 12:59:25 -07:00
parent 73dd758310
commit c9ddf2eca6

View File

@@ -71,7 +71,9 @@ function killProcessTree(parentPid: number): void {
);
return;
}
process.kill(-parentPid, "SIGKILL");
// The production abort path already force-kills the group. Cleanup after a
// failed assertion starts gracefully so it cannot kill a reused group id.
process.kill(-parentPid, "SIGTERM");
}
describe("runCliCommand real process lifecycle", () => {