Commit 4c320a5
committed
Fix TestQueryExecutorConsolidatorWaiterCapReject: set consolidator total waiter count
The test was setting per-query WaiterCount but not the consolidator's
TotalWaiterCount, which is what the actual code checks to decide whether
the cap is exceeded. Also corrected assertions to match the actual code
path (one AddWaiterCounter(-1) call, not two).
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
AI disclosure: Claude Code assisted with development. Every line of code was either written by or carefully reviewed by me :)1 parent b64e3eb commit 4c320a5
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1574 | 1574 | | |
1575 | 1575 | | |
1576 | 1576 | | |
| 1577 | + | |
1577 | 1578 | | |
1578 | 1579 | | |
1579 | 1580 | | |
| |||
1602 | 1603 | | |
1603 | 1604 | | |
1604 | 1605 | | |
1605 | | - | |
1606 | | - | |
1607 | | - | |
1608 | | - | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
1609 | 1609 | | |
1610 | 1610 | | |
1611 | 1611 | | |
| |||
0 commit comments