Skip to content

Commit

Permalink
Rerun failing test_dandimeta_datacite tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Nov 9, 2023
1 parent a7f2245 commit de35da6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dandischema/tests/test_datacite.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ def test_datacite(dandi_id: str, schema: Any) -> None:
datacite_post(datacite, meta.doi)


@pytest.mark.flaky(reruns=5, reruns_delay=5, only_rerun="HTTPError")
@skipif_no_network
@pytest.mark.parametrize(
"additional_meta, datacite_checks",
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ test =
mypy
pytest
pytest-cov
pytest-rerunfailures
all =
#%(doc)s
%(style)s
Expand Down

0 comments on commit de35da6

Please sign in to comment.