Skip to content

Commit e273400

Browse files
committed
Skip test_cache_prune on Windows.
This buys time for mainline CI while the lock hang is investigated.
1 parent 00417c5 commit e273400

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/integration/cli/commands/test_cache_prune.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
)
2828
from pex.cli.commands.cache.du import DiskUsage
2929
from pex.common import environment_as, safe_open
30+
from pex.os import WINDOWS
3031
from pex.pep_503 import ProjectName
3132
from pex.pex_info import PexInfo
3233
from pex.pip.version import PipVersion, PipVersionValue
@@ -40,6 +41,15 @@
4041
from typing import Iterable, Iterator, Optional
4142

4243

44+
pytestmark = pytest.mark.skipif(
45+
WINDOWS,
46+
reason=(
47+
"These tests (in particular `test_nothing_prunable`) currently hang on Windows in CI "
48+
"regularly."
49+
),
50+
)
51+
52+
4353
@pytest.fixture(autouse=True)
4454
def pex_root(tmpdir):
4555
# type: (Tempdir) -> Iterator[str]

0 commit comments

Comments
 (0)