forked from lei.chen/myxce
feat(raft-sim-conformance): runtime fault-injection switch (G1 term-stamp, G3 truncate) (task 7.1)
This commit is contained in:
parent
7087dc19d9
commit
62523892d9
4 changed files with 156 additions and 1 deletions
|
|
@ -185,7 +185,7 @@
|
|||
|
||||
## 7. Deliberately-broken-build negative test (the oracle's teeth)
|
||||
|
||||
- [ ] 7.1 RED+GREEN: compile-time fault switch emulates the bug-851 defects in the adapter
|
||||
- [x] 7.1 RED+GREEN: compile-time fault switch emulates the bug-851 defects in the adapter
|
||||
- Implement `RAFT_SIM_BREAK_TERM_STAMP` (adapter `on_persist_entry` writes term 0) and `RAFT_SIM_BREAK_TRUNCATE` (adapter `on_truncate_from` no-op), confined to the test/harness build configuration; default off
|
||||
- Observable completion: with a macro off, scenarios are clean; the macro is not set in the default CI run and does not touch `raft.c`
|
||||
- _Requirements: 7.1, 7.3_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue