test(ghidra): isolate start failure from stop evidence

This commit is contained in:
morluto
2026-10-24 08:16:44 +08:00
parent 3e6ac23b50
commit 0ba81bd9e4
+5 -2
View File
@@ -4162,7 +4162,11 @@ describe("Ghidra SIGKILL projection", () => {
);
it("keeps start-failure SIGKILL cause unknown despite a cgroup OOM delta", async () => {
const diagnostics = { ...killed, memory_cgroup: cgroup(1, 3_221_225_472) };
const diagnostics = {
...killed,
stop_requested: false,
memory_cgroup: cgroup(1, 3_221_225_472),
};
const projected = await projectFailure("start", diagnostics);
expect(projected.code).toBe("execution_failure");
expect(projected.message).toContain("SIGKILL");
@@ -4173,7 +4177,6 @@ describe("Ghidra SIGKILL projection", () => {
);
});
it.each([
["without cgroup evidence", {}],
[