1616 RUST_PROFILE : release
1717 SLOW_MACHINE : 1
1818 CI_SERVER_URL : " http://35.239.136.52:3170"
19+ GLOBAL_PYTEST_OPTS : --reruns=5
1920
2021jobs :
2122 prebuild :
@@ -313,7 +314,7 @@ jobs:
313314 run : |
314315 env
315316 cat config.vars
316- uv run eatmydata pytest tests/test_downgrade.py -vvv -n ${PYTEST_PAR} ${PYTEST_OPTS}
317+ uv run eatmydata pytest tests/test_downgrade.py -vvv ${GLOBAL_PYTEST_OPTS} -n ${PYTEST_PAR} ${PYTEST_OPTS}
317318
318319 integration :
319320 name : Test CLN ${{ matrix.name }}
@@ -421,7 +422,7 @@ jobs:
421422 run : |
422423 env
423424 cat config.vars
424- VALGRIND=0 uv run eatmydata pytest tests/ -vvv -n ${PYTEST_PAR} ${PYTEST_OPTS}
425+ VALGRIND=0 uv run eatmydata pytest tests/ -vvv ${GLOBAL_PYTEST_OPTS} -n ${PYTEST_PAR} ${PYTEST_OPTS}
425426
426427 integration-valgrind :
427428 name : Valgrind Test CLN ${{ matrix.name }}
@@ -430,7 +431,7 @@ jobs:
430431 env :
431432 RUST_PROFILE : release # Has to match the one in the compile step
432433 CFG : compile-gcc
433- PYTEST_OPTS : --test-group-random-seed=42 --timeout=1800 --durations=10
434+ PYTEST_OPTS : --test-group-random-seed=42 --timeout=1800 --durations=10 --reruns=10
434435 needs :
435436 - compile
436437 strategy :
@@ -501,7 +502,7 @@ jobs:
501502 RUST_PROFILE : release
502503 SLOW_MACHINE : 1
503504 TEST_DEBUG : 1
504- PYTEST_OPTS : --test-group-random-seed=42 --timeout=1800 --durations=10
505+ PYTEST_OPTS : --test-group-random-seed=42 --timeout=1800 --durations=10 --reruns=10
505506 needs :
506507 - compile
507508 strategy :
@@ -674,7 +675,7 @@ jobs:
674675 run : |
675676 env
676677 cat config.vars
677- VALGRIND=0 uv run eatmydata pytest tests/ -vvv -n ${PYTEST_PAR} ${PYTEST_OPTS}
678+ VALGRIND=0 uv run eatmydata pytest tests/ -vvv ${GLOBAL_PYTEST_OPTS} -n ${PYTEST_PAR} ${PYTEST_OPTS}
678679
679680 check-flake :
680681 name : Check Nix Flake
0 commit comments