Drives _cp_l3_reserve_reloads directly against a real CpSharedL2PageAllocator: - same-tick state (l3rl object committed-and-live + node attached -> attach_ok False) no longer raises 'duplicate live reservation'; the candidate is dropped and the request left un-held (re-matches the inserted node). - WITHOUT the recheck (attach_ok forced True = pre-fix path) the identical state raises the duplicate error -> proves the recheck is load-bearing. - an in-flight reload still piggybacks (recheck sits after the dedup, not before). - a genuine clean miss still reserves (no false-positive starvation). CPU unit test (register_cpu_ci, stage-a-test-cpu); runs in the dev-cu13 container. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Registered Tests
Tests under this directory are auto-discovered by run_suite.py via CI registration decorators.
Where Should I Put My New Test?
No server / engine launch required
| What you're testing | Directory | Requires |
|---|---|---|
| Component logic in isolation (cache, scheduler, config, parser, etc.) | unit/<module>/ |
CPU or GPU |
| CUDA kernel correctness | kernels/ |
GPU |
Server / engine launch required (E2E)
| What you're testing | Directory | Requires |
|---|---|---|
| Model inference correctness | models/, 4-gpu-models/, 8-gpu-models/ |
GPU |
| Feature-specific (OpenAI API, LoRA, speculative, distributed, VLM, etc.) | openai_server/, lora/, spec/, distributed/, ... |
GPU |
| Benchmarks (performance, accuracy, stress) | benchmark/ |
GPU |
| Platform-specific | amd/, ascend/ |
Vendor GPU |
See unit/README.md for unit test conventions.