Skip to content

Commit aad455a

Browse files
committed
try to re-run failed tests
1 parent f37c19e commit aad455a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

noxfile.py

+2
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,8 @@ def test_python_suite(session: Session) -> None:
181181
install_requirements_file(session, "test-env")
182182

183183
posargs = session.posargs
184+
posargs += ["--reruns", "3", "--reruns-delay", "1"]
185+
184186
if "--no-cov" in session.posargs:
185187
session.log("Coverage won't be checked")
186188
session.install(".[all]")

requirements/test-env.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
ipython
12
pytest
23
pytest-asyncio
34
pytest-cov
45
pytest-mock
6+
pytest-rerunfailures
57
pytest-timeout
6-
selenium
7-
ipython
88
responses
9+
selenium

0 commit comments

Comments
 (0)