mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 19:53:50 +00:00
test: assert held-drain, projection, VFS-limit and solve-stop outcomes instead of arbitrary elapsed bounds (#10979)
This commit is contained in:
1 parent
97b017c500
commit
7ed68aac93
4 files changed
+7
-9
No files matched your search
@@ -364,7 +364,9 @@ it("stops a held drain after late output exceeds budget but keeps the exit prima
|
||||
});
|
||||
expect(result.error.diagnostics?.stderr).toContain("physical exit 7");
|
||||
expect(result.error.capturedOutput?.truncated).toBe(true);
|
||||
expect(elapsedMs).toBeLessThan(5_000);
|
||||
// The descendant holds stderr open forever, and a drain the codec deadline
|
||||
// ends reports the same exit. Only the output-limit stop beats that deadline.
|
||||
expect(elapsedMs).toBeLessThan(WEB_SOURCE_MAP_LIMITS.decodeTimeoutMs);
|
||||
});
|
||||
|
||||
it("preserves an observed process-memory limit over the codec exit status", async () => {
|
||||
|
||||
Reference in new issue
Block a user