test(ha-commit-engine): RED tests for WAIT mode, admission cap, own-term gate (task 2.1)
9 new cases (8-16): block-until-majority, deadline timeout, standalone fast path, zero-ACK regression, n_vcpus-relative cap with floor, ACK progress at saturation, gate as blocking predicate (NOT_READY is admission-cap-only per corrected contract). Main-thread-only assertions after joins; 16 tests / 9 RED failures; baseline unchanged.
This commit is contained in:
parent
eae4767d7d
commit
d91f446e9e
4 changed files with 405 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# anatomy.md
|
||||
|
||||
> Auto-maintained by OpenWolf. Last scanned: 2026-06-11T14:36:56.598Z
|
||||
> Auto-maintained by OpenWolf. Last scanned: 2026-06-11T14:56:17.297Z
|
||||
> Files: 511 tracked | Anatomy hits: 0 | Misses: 0
|
||||
|
||||
## ./
|
||||
|
|
@ -262,7 +262,7 @@
|
|||
- `requirements.md` — Requirements Document (~2715 tok)
|
||||
- `research.md` — Research Log: ha-commit-engine (~1345 tok)
|
||||
- `spec.json` (~140 tok)
|
||||
- `tasks.md` — Implementation Plan: ha-commit-engine (~2947 tok)
|
||||
- `tasks.md` — Implementation Plan: ha-commit-engine (~3031 tok)
|
||||
|
||||
## .kiro/specs/ha-config-bootstrap/
|
||||
|
||||
|
|
@ -716,4 +716,4 @@
|
|||
## src/controller/testsuite/
|
||||
|
||||
- `controller_test.c` — include <argp.h> (~1323 tok)
|
||||
- `test_commit_engine.c` — RED tests for per-LSN majority + commit-index integrity (Reqs 1.2, 2.1-2.3, 5.1): 7 cases against stub persist_t+replicator_t (~2459 tok)
|
||||
- `test_commit_engine.c` — Commit engine tests: tasks 1.x majority/commit-index (green) + task 2.1 WAIT blocking/admission-cap/own-term-gate RED cases (~13200 tok)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue