diff options
author | Pradyun Gedam <pradyunsg@users.noreply.github.com> | 2020-10-25 23:03:10 +0530 |
---|---|---|
committer | Pradyun Gedam <pradyunsg@users.noreply.github.com> | 2020-10-25 23:03:10 +0530 |
commit | 66bb8a88c49ff58f5c7202daf75d9a84d96d77f2 (patch) | |
tree | 1c304411cc9b1ef582918b22dab1ca4099503b2a | |
parent | 9faf431fbbd2c1fe94ee14aea096480123b0a6c6 (diff) | |
download | pip-66bb8a88c49ff58f5c7202daf75d9a84d96d77f2.tar.gz |
Add a small delay between re-runs
-rw-r--r-- | tests/conftest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 81e136688..bf071c8de 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -66,7 +66,7 @@ def pytest_collection_modifyitems(config, items): if "CI" in os.environ: # Mark network tests as flaky if item.get_closest_marker('network') is not None: - item.add_marker(pytest.mark.flaky(reruns=3)) + item.add_marker(pytest.mark.flaky(reruns=3, reruns_delay=2)) if (item.get_closest_marker('fails_on_new_resolver') and config.getoption("--new-resolver") and |