chore(ha-heartbeat-liveness): mark unit test tasks 4.1-4.2 complete
All required unit test cases already implemented in prior tasks.
This commit is contained in:
parent
12216f1165
commit
aceadf0357
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue