Skip to content

Fix hang with --dist=loadgroup if a crashed worker is replaced#1324

Open
radoering wants to merge 1 commit intopytest-dev:masterfrom
radoering:fix-loadgroup-hang
Open

Fix hang with --dist=loadgroup if a crashed worker is replaced#1324
radoering wants to merge 1 commit intopytest-dev:masterfrom
radoering:fix-loadgroup-hang

Conversation

@radoering
Copy link
Copy Markdown

@radoering radoering commented Apr 18, 2026

Resolves #1323

In addition to the fix in remove_node(), I added a sanity check in _assign_work_unit(). (Without the fix and the sanity check the unit test hangs. Without the fix but with the sanity check, it fails due to the RuntimeError.)

@radoering radoering force-pushed the fix-loadgroup-hang branch from 6c94249 to 25282ab Compare April 27, 2026 14:19
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.

pytest --dist=loadgroup hangs if a crashed worker is restarted

1 participant