Skip to content

Commit

Permalink
tests: mark test_extend_branch as flaky (iterative#4718)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmrowla authored Oct 14, 2020
1 parent 3cebd98 commit 4aa8fd0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/func/experiments/test_experiments.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from textwrap import dedent

import pytest
from flaky.flaky_decorator import flaky
from funcy import first

from dvc.utils.serialize import PythonFileCorruptedError
Expand Down Expand Up @@ -205,6 +206,8 @@ def test_update_py_params(tmp_dir, scm, dvc):
dvc.experiments.run(stage.addressing, params=["params.py:INT=2a"])


# See: https://github.com/iterative/dvc/issues/4717
@flaky(max_runs=3, min_passes=1)
def test_extend_branch(tmp_dir, scm, dvc):
tmp_dir.gen("copy.py", COPY_SCRIPT)
tmp_dir.gen("params.yaml", "foo: 1")
Expand Down

0 comments on commit 4aa8fd0

Please sign in to comment.