Skip to content

Conversation

@mroeschke
Copy link
Member

It appears pytest-xdist needs all the workers to collect all the same parameterized tests to run.

Since data is generated randomly, sometimes the index_flat_unique fixture could have a different number of indexes between workers based on uniqueness and cause a build to completely fail. It's only used in 4 tests so just moving the filtering logic to the relevant test.

Example build failure: https://github.com/pandas-dev/pandas/runs/7735103409?check_suite_focus=true

@mroeschke mroeschke added Testing pandas testing functions or related to the test suite Unreliable Test Unit tests that occasionally fail labels Aug 9, 2022
@mroeschke mroeschke added this to the 1.5 milestone Aug 9, 2022
@mroeschke mroeschke merged commit 1fd46c8 into pandas-dev:main Aug 9, 2022
@mroeschke mroeschke deleted the tst/xdist_stable branch August 9, 2022 16:46
noatamir pushed a commit to noatamir/pandas that referenced this pull request Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Testing pandas testing functions or related to the test suite Unreliable Test Unit tests that occasionally fail

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants