From a814f04ee0f312df470aff67624a3c47e0147f23 Mon Sep 17 00:00:00 2001 From: skshetry <18718008+skshetry@users.noreply.github.com> Date: Wed, 11 Jan 2023 18:04:23 +0545 Subject: [PATCH] tests: xfail test_apply_failed on JSONDecodeError/PermissionError (#8796) --- tests/func/experiments/test_experiments.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/func/experiments/test_experiments.py b/tests/func/experiments/test_experiments.py index 5a6ecbe53..7d6c4dd19 100644 --- a/tests/func/experiments/test_experiments.py +++ b/tests/func/experiments/test_experiments.py @@ -1,4 +1,5 @@ import itertools +import json import logging import os import stat @@ -143,6 +144,8 @@ def test_apply(tmp_dir, scm, dvc, exp_stage): raises=( dulwich.errors.CommitError, dulwich.file.FileLocked, + json.JSONDecodeError, + PermissionError, ), strict=False, reason="See https://github.com/iterative/dvc/issues/8570",