test(raft-sim-conformance): negative test proving oracle teeth, both directions (task 7.2)

This commit is contained in:
Rongsong Shen 2026-06-24 16:30:20 +00:00
parent 62523892d9
commit 90197f8595
2 changed files with 97 additions and 1 deletions

View file

@ -192,7 +192,7 @@
- _Boundary: raft_sim.c_
- _Depends: 5.4, 5.5_
- [ ] 7.2 RED+GREEN: negative test asserts both directions
- [x] 7.2 RED+GREEN: negative test asserts both directions
- Test: under the broken configuration the Figure-8 / divergent-suffix scenario triggers a Log Matching / Leader Completeness / State Machine Safety violation (with trace dump); under the correct configuration the same scenario passes — both asserted in one test
- Observable completion: the broken build is caught and the correct build passes, proving checker sensitivity
- _Requirements: 7.1, 7.2, 7.4_