diff --git a/test-requirements.txt b/test-requirements.txt index c1318d38d..241911811 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,6 +2,7 @@ bagit>=1.6.4,<1.9 pytest>= 6.2,< 8.2 pytest-xdist pytest-httpserver +pytest-retry;python_version>'3.9' mock>=2.0.0 pytest-mock>=1.10.0 pytest-cov diff --git a/tests/test_dependencies.py b/tests/test_dependencies.py index 9b4c00598..c3043cd3d 100644 --- a/tests/test_dependencies.py +++ b/tests/test_dependencies.py @@ -25,6 +25,7 @@ @needs_docker @pytest.mark.skipif(not deps, reason="galaxy-tool-util is not installed") +@pytest.mark.flaky(retries=3) def test_biocontainers(tmp_path: Path) -> None: wflow = get_data("tests/seqtk_seq.cwl") job = get_data("tests/seqtk_seq_job.json")