Skip to content

Parallel node setup v2 #1230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

sshane
Copy link
Contributor

@sshane sshane commented Jul 26, 2025

Cleaner and passing version of #1229

@sshane sshane force-pushed the parallel-node-setup-try2 branch from d016cda to 65d1c12 Compare July 26, 2025 06:09
@sshane sshane force-pushed the parallel-node-setup-try2 branch from 414b6a1 to 01e30d9 Compare July 26, 2025 06:15
@sshane sshane force-pushed the parallel-node-setup-try2 branch from 8faaeba to fc7e83d Compare July 26, 2025 06:18
@sshane sshane force-pushed the parallel-node-setup-try2 branch from 8724b5c to f89edf9 Compare July 26, 2025 06:21
Comment on lines +165 to +167
self.assigned_work = dict(
sorted(self.assigned_work.items(), key=lambda item: item[0].gateway.id)
)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

None of the other schedulers need this to pass tests, is this intentional?

@sshane sshane changed the title Parallel node setup try2 Parallel node setup v2 Jul 26, 2025
Comment on lines +87 to +88
hookrecorder.popcall("pytest_xdist_newgateway"),
hookrecorder.popcall("pytest_xdist_newgateway"),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can also sort the pytest_xdist_newgateway calls inside setup_nodes to maintain behavior

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