test(ha-config-bootstrap): add RED-phase tests for persist_truncate_wal_above (task 7.4)
This commit is contained in:
parent
30bcb74a67
commit
e7da075315
4 changed files with 248 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ Dependency order: startup validation (D) unblocks vtaskmgr before election (A);
|
|||
- _Requirements: 5.1, 5.5, 5.8, 10.3_
|
||||
- _Boundary: Replication Layer (repl.c)_
|
||||
|
||||
- [ ] 7.4 Write failing tests for persist_truncate_wal_above()
|
||||
- [x] 7.4 Write failing tests for persist_truncate_wal_above()
|
||||
- In `src/controller/testsuite/test_persist_truncate.c`: test truncation at segment boundary deletes whole segment; test truncation mid-segment scans sequentially to correct byte offset; test idempotency (calling twice with same `cutoff_lsn` is safe); test `applied_lsn` updated atomically; test no-op when `cutoff_lsn == applied_lsn`
|
||||
- `make test` fails
|
||||
- _Requirements: 5.6, 5.7_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue