tests: remark flaky queue tests as xfail on windows

This commit is contained in:
Peter Rowlands
2023-03-23 19:18:52 +09:00
committed by Peter Rowlands (변기호)
parent 9b329d01bf
commit cd2c4d0caf
2 changed files with 14 additions and 0 deletions
+7
View File
@@ -1,3 +1,5 @@
import os
import pytest
from funcy import first
@@ -26,6 +28,11 @@ def test_apply(tmp_dir, scm, dvc, exp_stage):
assert (tmp_dir / "metrics.yaml").read_text().strip() == "foo: 3"
@pytest.mark.xfail(
os.name == "nt",
strict=False,
reason="https://github.com/iterative/dvc/issues/9143",
)
def test_apply_failed(tmp_dir, scm, dvc, failed_exp_stage, session_queue):
from dvc.exceptions import InvalidArgumentError