row 250 (Vikunja #450): K12 names the cause when the events read fails

The populated assertion prints the shim's answer, with ok and unavailable,
and the controller's release entries. Step 1 of the brief, on its own.
This commit is contained in:
jason.woltje committed 2026-10-21 14:09:57 -05:00
1 parent 3b0aef9952
commit cbba6ff07a
1 file changed
+2 -1
+2 -1
View File
@@ -289,7 +289,8 @@ test("K12: a member forking in a loop: the freeze stops it, enumeration is compl
assert.ok(listed.has(pid), `child ${pid} forked after TERM is in the proof's list`);
}
const ev = await shimRequest(h.rec().shim, "events");
assert.equal(ev.populated, 0);
// On failure, name the cause: the answer with `ok` and `unavailable`, and any release already run (row 250).
assert.equal(ev.populated, 0, JSON.stringify({ ev, releases: h.ctrl.evidence.releases }));
assert.deepEqual(await memberPids(h.rec().shim), []);
} finally {
await h.close();