tests: xfail experiments-related flakey tests

This commit is contained in:
Saugat Pachhai (सौगात)
2023-01-06 18:59:53 +05:45
committed by skshetry
parent bfb6a32b51
commit 3dfdd577e7
2 changed files with 24 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import json
import pytest
pytestmark = pytest.mark.xfail(
raises=(
# looks like dvc-task is not saving json atomically
json.JSONDecodeError,
# needs investigation, maybe a file locking issue?
PermissionError,
),
strict=False,
reason="See https://github.com/iterative/dvc/issues/8570",
)