mirror of https://github.com/pypa/pip
Add a small delay between re-runs
This commit is contained in:
parent
9faf431fbb
commit
66bb8a88c4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue