mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 23:10:42 +01:00
tests: mark azure test as flaky (#4881)
Related: #4792 Signed-off-by: Ioana Grigoropol <[email protected]>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import os
|
||||
|
||||
import pytest
|
||||
from flaky.flaky_decorator import flaky
|
||||
from funcy import first, get_in
|
||||
|
||||
from dvc import api
|
||||
@@ -97,6 +98,7 @@ def test_open_external(tmp_dir, erepo_dir, cloud):
|
||||
assert api.read("version", repo=repo_url, rev="branch") == "branchver"
|
||||
|
||||
|
||||
@flaky(max_runs=3, min_passes=1)
|
||||
@pytest.mark.parametrize("remote", all_clouds, indirect=True)
|
||||
def test_open_granular(tmp_dir, dvc, remote):
|
||||
tmp_dir.dvc_gen({"dir": {"foo": "foo-text"}})
|
||||
|
||||
Reference in New Issue
Block a user