test(raft-sim-conformance): focused Log Matching checker test for R3.2 (task 3.2)

This commit is contained in:
Rongsong Shen 2026-06-24 12:35:36 +00:00
parent 25b14a6dca
commit d9b5fd51e0
2 changed files with 72 additions and 1 deletions

View file

@ -63,7 +63,7 @@
- _Boundary: raft_sim.c, test_raft.c_
- _Depends: 1.1_
- [ ] 3.2 RED+GREEN: Log Matching checker (P)
- [x] 3.2 RED+GREEN: Log Matching checker (P)
- Test: two logs sharing `(idx, term)` but differing earlier fail; identical-prefix logs pass
- Implement `raft_sim_check_log_matching` (pairwise; shared `(idx, term)` ⇒ identical `1..idx`)
- Observable completion: both directions assert correctly