Skip to content

Commit 66bb8a8

Browse files
committed
Add a small delay between re-runs
1 parent 9faf431 commit 66bb8a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def pytest_collection_modifyitems(config, items):
6666
if "CI" in os.environ:
6767
# Mark network tests as flaky
6868
if item.get_closest_marker('network') is not None:
69-
item.add_marker(pytest.mark.flaky(reruns=3))
69+
item.add_marker(pytest.mark.flaky(reruns=3, reruns_delay=2))
7070

7171
if (item.get_closest_marker('fails_on_new_resolver') and
7272
config.getoption("--new-resolver") and

0 commit comments

Comments
 (0)