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

pytest.mark.parametrize potential weird interaction #102

Open
michaelgmiller1 opened this issue Aug 13, 2024 · 1 comment
Open

pytest.mark.parametrize potential weird interaction #102

michaelgmiller1 opened this issue Aug 13, 2024 · 1 comment

Comments

@michaelgmiller1
Copy link

We are getting error code 5 (no tests ran) on our test runners.

However, we have many more tests than runners, and no runners are running less than 10 tests. My suspicion is that we have a few slow tests with pytest.mark.parametrize - and these are not being split up across runners.

Does a test with pytest.mark.parametrize get split up into different groups?

@michaelgmiller1
Copy link
Author

I tested locally, and it seems like the tests are split out onto separate runners. I suspect we are seeing the error code 5 simply due to edge overflow, where it's not possible to efficiently allocate tests to an extra runner.

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

No branches or pull requests

1 participant