Skip to content

Commit 5ecc5f1

Browse files
authored
Add back restarting workers for crashing tests (#241)
1 parent d7db128 commit 5ecc5f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ jobs:
10911091
# See if we don't have a crash that went away
10921092
# Comment out all xfails but the ones that have a run=False condition.
10931093
find . -name "*.py" -exec sed -i '/run=False/!s/^ *@mark.xfail\(.*\)/#&/' {} \;
1094-
python -m pytest -m "xfail" --runxfail -sv | tee test_crashed.log 2>&1 || true
1094+
python -m pytest -n 1 -m "xfail" --runxfail -sv --max-worker-restart 512 | tee test_crashed.log 2>&1 || true
10951095
git checkout .
10961096
echo ::endgroup::
10971097
echo ::group::XFAIL Test Logs

0 commit comments

Comments
 (0)