Skip to content

Conversation

@oscarkey
Copy link
Contributor

Using the sets results in the lists of models used to parameterise the tests being in a non-deterministic order. This breaks pytest when using xdist, as different processes get different orders.

Using the sets results in the lists of models used to parameterise the
tests being in a non-deterministic order. This breaks pytest when using
xdist, as different processes get different orders.
@oscarkey oscarkey requested a review from LeoGrin August 29, 2025 14:11
@gemini-code-assist
Copy link
Contributor

Warning

Gemini encountered an error creating the review. You can try again by commenting /gemini review.

@oscarkey oscarkey merged commit 9d1238e into main Aug 29, 2025
10 checks passed
@oscarkey oscarkey deleted the ok-fix-test-collection branch August 29, 2025 14:33
oscarkey added a commit that referenced this pull request Nov 12, 2025
#127)

* Record copied public PR 472

* Ensure tests parameters are in deterministic order. (#472)

(cherry picked from commit 9d1238e)

---------

Co-authored-by: mirror-bot <mirror-bot@users.noreply.github.com>
Co-authored-by: Oscar Key <oscar@priorlabs.ai>
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.

3 participants