Skip to content

Commit c5f42b4

Browse files
committed
Re-run flaky tests
1 parent c23dadc commit c5f42b4

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

pdm.lock

Lines changed: 16 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ test = [
103103
"pytest-xdist>=3.0.2",
104104
"pytest-freezegun>=0.4.2",
105105
"pydantic-factories>=1.6.1",
106+
"pytest-rerunfailures>=16.0.1",
106107
]
107108
doc = [
108109
"mkdocs>=1.3.1",

tests/e2e/test_cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@ def test_do_not_read_folders_as_files(runner: CliRunner, tmpdir: py.path.local)
424424
assert result.exit_code == 0
425425

426426

427+
@pytest.mark.flaky(reruns=5, reruns_delay=2)
427428
def test_glob_cache_is_fast(runner: CliRunner, tmpdir: Path) -> None:
428429
"""Test that glob caching improves performance."""
429430
# Create 1000 files in the tmpdir

0 commit comments

Comments
 (0)