feat(raft-library): task 5.2 — protocol Groups C+H, 11 test cases (eligible policy + persist)
This commit is contained in:
parent
389047194f
commit
0aa4c84bfe
2 changed files with 350 additions and 1 deletions
|
|
@ -102,7 +102,7 @@
|
|||
- All 10 Unity test cases pass; `raft_sim_dump_log` confirms correct event sequence for A2
|
||||
- _Requirements: 2.1, 2.2, 2.3, 3.1, 3.2, 3.3, 3.5, 8.2, 8.3_
|
||||
|
||||
- [ ] 5.2 Test Groups C and H: on_vote_eligible policy and persistence/restart (11 cases)
|
||||
- [x] 5.2 Test Groups C and H: on_vote_eligible policy and persistence/restart (11 cases)
|
||||
- C1: all Raft invariants pass, `on_vote_eligible` returns 0 → denied
|
||||
- C2: all Raft invariants pass, `on_vote_eligible` returns 1 → granted
|
||||
- C3: `on_vote_eligible` is NULL at init → eligible candidates granted when Raft invariants pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue