Add behavioral load-balancing test for #663 - #754
Open
aalquwayfili wants to merge 1 commit into
Open
aalquwayfili wants to merge 1 commit into
aalquwayfili wants to merge 1 commit into
Conversation
…#663) The unit tests pin the pressure term in the cost formula, but nothing ran tasks end to end and checked placement, which is how JuliaParallel#663 shipped unnoticed. Add a behavioral check: 40 sleeping tasks over 4 workers land [1 => 40] when the pressure term is dead and spread across workers when it is live. Verified failing on 59081dc (pre-JuliaParallel#744) and passing on master.
aalquwayfili
force-pushed
the
test-663-load-balancing
branch
from
September 15, 2026 06:45
9cd147b to
45963b3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #744/#745: the unit tests pin the pressure term in the cost formula, but nothing runs tasks end to end and checks placement, which is how #663 shipped unnoticed. This adds a behavioral check: 40 sleeping tasks over 4 workers, asserting they do not all land on worker 1.
Verified it fails on 59081dc (pre-#744, gets
[1 => 40]) and passes on master (gets10/10/10/10). Scheduler suite: 269 pass, 5 broken (pre-existing).