travis: Rerun failed tests to avoid flaking out

This commit is contained in:
Christian Decker
2020-08-28 18:22:41 +02:00
parent 40e2df377a
commit d029ccfd42

View File

@@ -30,6 +30,7 @@ pip3 install --user --quiet \
psycopg2-binary>=2.8.3 \
pytest-timeout==1.3.3 \
pytest-xdist==1.30.0 \
pytest-rerunfailures \
pytest-cover \
coverage \
codecov \
@@ -67,6 +68,6 @@ export COVERAGE_FILE="$CWD/.coverage"
export COVERAGE_RCFILE="$CWD/.coveragerc"
export PYTHONPATH="$CWD"
pytest -vvv --timeout=550 --timeout_method=thread -p no:logging -n 5
pytest -vvv --timeout=550 --timeout_method=thread -p no:logging -n 5 --reruns=3
#codecov --env COMPAT,DEVELOPER,EXPERIMENTAL_FEATURES