mirror of
https://github.com/morluto/rea.git
synced 2026-11-12 09:52:27 +00:00
test(jeb): assert the timeout limit source instead of a restart instruction
A launch-selected JEB deadline reports source setting and update_mode runtime. The recovery tells the caller to use update_analysis_settings.
This commit is contained in:
1 parent
aefdacd697
commit
db5a0e0f4a
1 file changed
+10
-1
@@ -58,7 +58,16 @@ it.each([
|
||||
expect(projected.remediation.action).toContain("REA_JEB_MCP_TIMEOUT_MS");
|
||||
expect(projected.remediation.action).toContain("2147483647");
|
||||
expect(projected.remediation.action).toContain("60000");
|
||||
expect(projected.remediation.action).toContain("restart");
|
||||
expect(projected.remediation.action).toContain(
|
||||
"update_analysis_settings",
|
||||
);
|
||||
expect(projected.details?.limit).toMatchObject({
|
||||
setting: "jeb.mcp_timeout_ms",
|
||||
effective_value: 100,
|
||||
source: "setting",
|
||||
update_mode: "runtime",
|
||||
pending_restart: false,
|
||||
});
|
||||
expect(result.error.cause).toBeDefined();
|
||||
expect(result.error.cleanupIncomplete).toBe(false);
|
||||
}, [
|
||||
|
||||
Reference in new issue
Block a user