Skip to content

Commit

Permalink
tests: mark test_data_cloud::test_pull_git_imports as flaky (#3790)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmrowla authored May 13, 2020
1 parent d81b569 commit 3916d4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/func/test_data_cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from unittest import SkipTest

import pytest
from flaky.flaky_decorator import flaky

from dvc.cache import NamedCache
from dvc.compat import fspath
Expand Down Expand Up @@ -716,6 +717,7 @@ def test_verify_checksums(
assert checksum_spy.call_count == 3


@flaky(max_runs=3, min_passes=1)
@pytest.mark.parametrize("erepo", ["git_dir", "erepo_dir"])
def test_pull_git_imports(request, tmp_dir, dvc, scm, erepo):
erepo = request.getfixturevalue(erepo)
Expand Down

0 comments on commit 3916d4f

Please sign in to comment.