Skip to content
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

Support controlling whether a specific Worker starts and stops testing #1139

Open
M2asXe opened this issue Oct 14, 2024 · 1 comment
Open

Comments

@M2asXe
Copy link

M2asXe commented Oct 14, 2024

Our business requires controlling Workers in multiple different environments for testing. These Worker-controlled environments may include mobile phones, Linux, MacOS, Windows, etc. We have mechanisms for automatically detecting and restarting these environments, but sometimes certain environments still cannot function properly. We hope to be able to exclude them and allocate test cases to Worker processes corresponding to normal environments.

Can we consider supporting?

@RonnyPfannschmidt
Copy link
Member

more context is needed for good suggestions

the common recommendation for testing against multiple environments is to have one ci job/matrix entry per environment an having the ci system manage the provisioning of the environment

that way xdist would not have to care as xdist would not need to distinguish environments

additionally commonly one needs to run most/all tests against each environment, having xdist split tests between different environments would imply not running them elsewhere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants