mirror of
https://github.com/morluto/rea
synced 2026-10-26 06:16:17 -04:00
test(ghidra): isolate start failure from stop evidence
This commit is contained in:
@@ -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", {}],
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user