mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 19:53:50 +00:00
test: focus diagnostics and evidence checks on behavior (#9303)
* test: focus configuration diagnostics on their owners Preserve shape errors, selected paths, recovery guidance, and unchanged-file behavior across parser, setup, and uninstall boundaries. * test: focus artifact and evidence checks on behavior Retain format, identity, malformed-input, and cleanup coverage while removing fixed prose and closing the admitted test source. * refactor(debugger): use configured session admission limits * test: focus evidence and diagnostics on behavior * fix(test): restore verifier export and formatting * test(config): verify debugger limit ranges * test(rizin): keep fixture executable authoritative * test(rizin): isolate debugger fixture environment
This commit is contained in:
1 parent
08637b0c24
commit
5044e20171
290 files changed
+2808
-2030
No files matched your search
@@ -1,10 +1,6 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import {
|
||||
resolveSwiftcCompileTimeoutMs,
|
||||
swiftcCompileTimeoutRecovery,
|
||||
} from "./DarwinProcessRunTokenReader.js";
|
||||
import { MAX_NODE_TIMER_DELAY_MS } from "../domain/analysisResourceLimits.js";
|
||||
import { resolveSwiftcCompileTimeoutMs } from "./DarwinProcessRunTokenReader.js";
|
||||
|
||||
describe("resolveSwiftcCompileTimeoutMs", () => {
|
||||
it("keeps the historical default when unset", () => {
|
||||
@@ -35,14 +31,4 @@ describe("resolveSwiftcCompileTimeoutMs", () => {
|
||||
}),
|
||||
).toBe(120_000);
|
||||
});
|
||||
|
||||
it("names the launch-environment deadline, range, and restart on a timeout", () => {
|
||||
const recovery = swiftcCompileTimeoutRecovery(300_000);
|
||||
expect(recovery).toContain("REA_SWIFTC_COMPILE_TIMEOUT_MS");
|
||||
expect(recovery).toContain("300000 ms");
|
||||
expect(recovery).toContain(`1..${String(MAX_NODE_TIMER_DELAY_MS)}`);
|
||||
expect(recovery).toContain("120000 ms");
|
||||
expect(recovery).toContain("restart REA");
|
||||
expect(recovery).toContain("next ownership-helper compile");
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user