forked from pytest-dev/pytest-xdist
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Optionally retain input ordering in loadscope for tests where relative ordering matters. i.e. guarantee that, given [input 1, input 2], input 2 never runs before input 1. On any given worker, either input 1 has ran before input 2, or input 1 has never and will never run on this worker. Closes pytest-dev#1083.
- Loading branch information
Showing
4 changed files
with
37 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add ``--no-loadscope-reorder`` which only applies to ``dist=loadscope``. If passed in, this will not attempt to sort test scopes by number of tests and retain test scopes based on input ordering. Doing so guarantees that, given [input_1, input_2], input_2 will never run before input_1. On any given worker, input_2 will either run after input_1, or input_1 has never and will never run on this worker. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters