forked from pytest-dev/pytest-xdist
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use "nodes * 4" as default for --max-worker-restart
Fix pytest-dev#226
- Loading branch information
1 parent
9fcf8fa
commit f0c2629
Showing
3 changed files
with
36 additions
and
11 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,2 @@ | ||
``--max-worker-restart`` now assumes a more reasonable value (4 times the number of | ||
nodes) when not given explicitly. This prevents test suites from running forever when the suite crashes during collection. |
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