test(memory): clean up qmd fixture gracefully · openclaw/openclaw@c9ddf2e
openclaw
·
2026-06-24
·
via Recent Commits to openclaw:main
Commit c9ddf2e
test(memory): clean up qmd fixture gracefully
1 file changed
Lines changed: 3 additions & 1 deletion
File tree
packages/memory-host-sdk/src/host
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|
@@ -71,7 +71,9 @@ function killProcessTree(parentPid: number): void {
|
71 | 71 | ); |
72 | 72 | return; |
73 | 73 | } |
74 | | -process.kill(-parentPid, "SIGKILL"); |
| 74 | +// The production abort path already force-kills the group. Cleanup after a |
| 75 | +// failed assertion starts gracefully so it cannot kill a reused group id. |
| 76 | +process.kill(-parentPid, "SIGTERM"); |
75 | 77 | } |
76 | 78 | |
77 | 79 | describe("runCliCommand real process lifecycle", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
0 commit comments