Compare commits

...

1 Commits

Author SHA1 Message Date
122b890664 fix: watchdog test expects 5 checks including Kimi Heartbeat
Some checks failed
CI / test (pull_request) Failing after 1m30s
Review Approval Gate / verify-review (pull_request) Successful in 12s
CI / validate (pull_request) Failing after 1m32s
Closes #1534, fixes #1512
2026-04-15 03:34:05 +00:00

View File

@@ -293,7 +293,7 @@ class TestHealthReport:
class TestRunHealthChecks:
def test_returns_report_with_all_checks(self, tmp_path):
"""run_health_checks() returns a report with all four checks."""
"""run_health_checks() returns a report with all five checks."""
with patch("socket.socket") as mock_sock, \
patch("subprocess.run") as mock_run:
mock_sock.return_value.connect_ex.return_value = 0
@@ -303,7 +303,7 @@ class TestRunHealthChecks:
heartbeat_path=tmp_path / "missing.json",
)
assert len(report.checks) == 4
assert len(report.checks) == 5
check_names = {c.name for c in report.checks}
assert "WebSocket Gateway" in check_names
assert "Consciousness Loop" in check_names