Repository navigation
Commit 06850f7
test(relay): wait for every waiter to reach the gate before filling the cache
The shared-read test yielded once and then filled the cache, so a waiter
spawned late could take the initial cache-hit path and pass without
exercising the waiter branch. Each waiter holds a clone of the leader's
gate while it waits; the test now waits for the gate's count to show all
eight before it fills the cache.
Co-authored-by: Elrond <28d6302a099e5225b02c4155ac4236e4912603df2ab08dbfc2f4fef08ce598c8@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Luke Tornquist <[email protected]>1 parent a6c09c9 commit 06850f7
1 file changed
Lines changed: 21 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4331 | 4331 | | |
4332 | 4332 | | |
4333 | 4333 | | |
| 4334 | + | |
| 4335 | + | |
| 4336 | + | |
| 4337 | + | |
| 4338 | + | |
| 4339 | + | |
| 4340 | + | |
| 4341 | + | |
| 4342 | + | |
| 4343 | + | |
| 4344 | + | |
| 4345 | + | |
| 4346 | + | |
| 4347 | + | |
| 4348 | + | |
4334 | 4349 | | |
4335 | 4350 | | |
4336 | 4351 | | |
| |||
4346 | 4361 | | |
4347 | 4362 | | |
4348 | 4363 | | |
4349 | | - | |
| 4364 | + | |
| 4365 | + | |
| 4366 | + | |
| 4367 | + | |
| 4368 | + | |
4350 | 4369 | | |
4351 | 4370 | | |
4352 | 4371 | | |
| |||
4366 | 4385 | | |
4367 | 4386 | | |
4368 | 4387 | | |
4369 | | - | |
| 4388 | + | |
4370 | 4389 | | |
4371 | 4390 | | |
4372 | 4391 | | |
| |||
0 commit comments