Commit a4f4564
docs: document the freeBlk/reset invariant used by dispatch tests
Add a comment on bulkT.reset noting that only freeBlk should call it,
since TestDrainAndFreeAbortedBlkResponse relies on that invariant to
use reset as an observable proxy for freeBlk having run.
Also split the two concerns in the test comment — synchronous execution
(for race-free reads) and the reset-as-proxy assertion — onto separate
lines so they're not conflated.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 3e2fa4c commit a4f4564
2 files changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
| |||
0 commit comments