Skip to content

Add behavioral load-balancing test for #663 - #754

Open
aalquwayfili wants to merge 1 commit into
JuliaParallel:masterfrom
aalquwayfili:test-663-load-balancing
Open

aalquwayfili wants to merge 1 commit into
JuliaParallel:masterfrom
aalquwayfili:test-663-load-balancing

Conversation

@aalquwayfili

@aalquwayfili aalquwayfili commented Sep 15, 2026

Copy link
Copy Markdown

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 (gets 10/10/10/10). Scheduler suite: 269 pass, 5 broken (pre-existing).

…#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
aalquwayfili force-pushed the test-663-load-balancing branch from 9cd147b to 45963b3 Compare September 15, 2026 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant