TestAPassWritesWantsWhileAKeepingIsBlocked read the graph's need right after two passes, while the keeping takes it on its own goroutine; on a loaded build node it read too early (pipeline main.251). The blocked object bucket in the test now says when a keeping meets its gate, and the test waits on that, bounded by the level bound, as it does on the pass and the wake. Test code only.
Tests
graphkept_test.go: the test itself, run repeatedly under -race and -count.
Reviewed-by: mesh-code-reviewer@shanks at 203454b1a9
Pushed-by: lead-47@shanks
## Design lines
hq branch `design/47-H1-answers-59` (head 364552d2), `03-DESIGN/01-to-be/47-milestones/H2-lead-answers.md`: H-A-476.
## What changed
TestAPassWritesWantsWhileAKeepingIsBlocked read the graph's need right after two passes, while the keeping takes it on its own goroutine; on a loaded build node it read too early (pipeline main.251). The blocked object bucket in the test now says when a keeping meets its gate, and the test waits on that, bounded by the level bound, as it does on the pass and the wake. Test code only.
## Tests
- `graphkept_test.go`: the test itself, run repeatedly under `-race` and `-count`.
Reviewed-by: mesh-code-reviewer@shanks at 203454b1a93dee5be4d9396ae77035a6478ea6b4
Pushed-by: lead-47@shanks
Group: mesh-delivery #330 + #331 + #332 (one merge call)
TestAPassWritesWantsWhileAKeepingIsBlocked read the graph's need right after
two passes, while the keeping takes it on its own goroutine; on a loaded build
node it read too early (pipeline main.251). The blocked object bucket now says
when a keeping meets its gate, and the test waits on that, bounded by the
level bound, as it does on the pass and the wake.
Builds: design 47 H2 H-A-476
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Design lines
hq branch
design/47-H1-answers-59(head 364552d2),03-DESIGN/01-to-be/47-milestones/H2-lead-answers.md: H-A-476.What changed
TestAPassWritesWantsWhileAKeepingIsBlocked read the graph's need right after two passes, while the keeping takes it on its own goroutine; on a loaded build node it read too early (pipeline main.251). The blocked object bucket in the test now says when a keeping meets its gate, and the test waits on that, bounded by the level bound, as it does on the pass and the wake. Test code only.
Tests
graphkept_test.go: the test itself, run repeatedly under-raceand-count.Reviewed-by: mesh-code-reviewer@shanks at
203454b1a9Pushed-by: lead-47@shanks
Group: mesh-delivery #330 + #331 + #332 (one merge call)