Skip to content

Commit

Permalink
Skip test_cache_prune on Windows. (#2711)
Browse files Browse the repository at this point in the history
This buys time for mainline CI while the lock hang is investigated.

More work towards #2658.
Undoing skip tracked in #2712.
  • Loading branch information
jsirois authored Mar 1, 2025
1 parent 00417c5 commit df2f1a7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/integration/cli/commands/test_cache_prune.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
)
from pex.cli.commands.cache.du import DiskUsage
from pex.common import environment_as, safe_open
from pex.os import WINDOWS
from pex.pep_503 import ProjectName
from pex.pex_info import PexInfo
from pex.pip.version import PipVersion, PipVersionValue
Expand All @@ -40,6 +41,15 @@
from typing import Iterable, Iterator, Optional


pytestmark = pytest.mark.skipif(
WINDOWS,
reason=(
"These tests (in particular `test_nothing_prunable`) currently hang on Windows in CI "
"regularly."
),
)


@pytest.fixture(autouse=True)
def pex_root(tmpdir):
# type: (Tempdir) -> Iterator[str]
Expand Down

0 comments on commit df2f1a7

Please sign in to comment.