Skip to content

Commit

Permalink
Merge pull request #1290 from dandi/flaky-nfs
Browse files Browse the repository at this point in the history
Retry test that intermittently fails on NFS
  • Loading branch information
yarikoptic authored May 17, 2023
2 parents 84ec4f8 + 302079b commit 12ccc98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dandi/tests/test_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,8 @@ def test_find_dandi_files_with_bids(tmp_path: Path) -> None:
assert asset.bids_dataset_description is bidsdd


# This test sometimes fails and sometimes passes when running on NFS.
@pytest.mark.flaky(reruns=10)
def test_dandi_file_zarr_with_excluded_dotfiles(tmp_path: Path) -> None:
zarr_path = tmp_path / "foo.zarr"
mkpaths(
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ test =
pytest
pytest-cov
pytest-mock
pytest-rerunfailures
responses
tools=
boto3
Expand Down

0 comments on commit 12ccc98

Please sign in to comment.