From aceadf0357e5bf823532817c77bba3960653e6fd Mon Sep 17 00:00:00 2001 From: Rongsong Shen Date: Mon, 1 Jun 2026 15:43:29 +0000 Subject: [PATCH] chore(ha-heartbeat-liveness): mark unit test tasks 4.1-4.2 complete All required unit test cases already implemented in prior tasks. --- .kiro/specs/ha-heartbeat-liveness/tasks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.kiro/specs/ha-heartbeat-liveness/tasks.md b/.kiro/specs/ha-heartbeat-liveness/tasks.md index 0b847e5d..6d74eec8 100644 --- a/.kiro/specs/ha-heartbeat-liveness/tasks.md +++ b/.kiro/specs/ha-heartbeat-liveness/tasks.md @@ -58,7 +58,7 @@ - _Boundary: config_repl.c, ha.c (ha_on_primary_ctrl_fd_rdhup)_ - [ ] 4. Validation: unit and integration tests -- [ ] 4.1 (P) Unit tests for standby liveness poll +- [x] 4.1 (P) Unit tests for standby liveness poll - Test `liveness_poll_fn` fires `ha_on_primary_ctrl_fd_rdhup` when `now - last_activity >= heartbeat_timeout_ms` - Test `liveness_poll_fn` re-arms (no failover) when `now - last_activity < heartbeat_timeout_ms` - Test `liveness_poll_fn` with `cancelled = 1` is a no-op (no failover, no re-arm)