From 5c26ce5385c1dfa37626826a196e25e96c5f12eb Mon Sep 17 00:00:00 2001 From: Peter Scheibel Date: Tue, 27 Feb 2024 00:36:10 -0800 Subject: [PATCH] skip test which is causing spurious failures on Windows (#42832) --- lib/spack/spack/test/cmd/external.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/spack/spack/test/cmd/external.py b/lib/spack/spack/test/cmd/external.py index 362b2360a5f..deb334090f7 100644 --- a/lib/spack/spack/test/cmd/external.py +++ b/lib/spack/spack/test/cmd/external.py @@ -94,6 +94,9 @@ def test_get_executables(working_env, mock_executable): external = SpackCommand("external") +# TODO: this test should be made to work, but in the meantime it is +# causing intermittent (spurious) CI failures on all PRs +@pytest.mark.skipif(sys.platform == "win32", reason="Test fails intermittently on Windows") def test_find_external_cmd_not_buildable(mutable_config, working_env, mock_executable): """When the user invokes 'spack external find --not-buildable', the config for any package where Spack finds an external version should be marked as