Unit tests: skip tests that intermittently fail on Windows (#42909)
This commit is contained in:
parent
a2b92822d4
commit
4a9a5b6eed
2 changed files with 2 additions and 0 deletions
|
@ -248,6 +248,7 @@ def _determine_variants(cls, exes, version_str):
|
||||||
assert gcc.external_path == os.path.sep + os.path.join("opt", "gcc", "bin")
|
assert gcc.external_path == os.path.sep + os.path.join("opt", "gcc", "bin")
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.not_on_windows("Fails spuriously on Windows")
|
||||||
def test_new_entries_are_reported_correctly(mock_executable, mutable_config, monkeypatch):
|
def test_new_entries_are_reported_correctly(mock_executable, mutable_config, monkeypatch):
|
||||||
# Prepare an environment to detect a fake gcc
|
# Prepare an environment to detect a fake gcc
|
||||||
gcc_exe = mock_executable("gcc", output="echo 4.2.1")
|
gcc_exe = mock_executable("gcc", output="echo 4.2.1")
|
||||||
|
|
|
@ -141,6 +141,7 @@ def test_partial_install_delete_prefix_and_stage(install_mockery, mock_fetch, wo
|
||||||
assert s.package.spec.installed
|
assert s.package.spec.installed
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.not_on_windows("Fails spuriously on Windows")
|
||||||
@pytest.mark.disable_clean_stage_check
|
@pytest.mark.disable_clean_stage_check
|
||||||
def test_failing_overwrite_install_should_keep_previous_installation(
|
def test_failing_overwrite_install_should_keep_previous_installation(
|
||||||
mock_fetch, install_mockery, working_env
|
mock_fetch, install_mockery, working_env
|
||||||
|
|
Loading…
Reference in a new issue