You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The result of that test depends on the SCCACHE_CACHE_MULTIARCH environment variable. Ignoring the fact that setting the environment variable outside of cargo test makes the test permanently fail, there's another problem: other tests are temporarily setting SCCACHE_CACHE_MULTIARCH, and tests run in parallel. So there's a race condition: if test_parse_arguments_multiarch_cache_disabled runs at the same time as some of these other tests, it fails, otherwise, it passes.
The text was updated successfully, but these errors were encountered:
The test fails when SCCACHE_CACHE_MULTIARCH is set, which can either
happen externally, or when another tests sets it via with_var.
with_var_unset prevents both (temp_env has a global lock specifically
to avoid the problem with concurrent tests).
Fixesmozilla#1982
The test fails when SCCACHE_CACHE_MULTIARCH is set, which can either
happen externally, or when another tests sets it via with_var.
with_var_unset prevents both (temp_env has a global lock specifically
to avoid the problem with concurrent tests).
Fixes#1982
The result of that test depends on the SCCACHE_CACHE_MULTIARCH environment variable. Ignoring the fact that setting the environment variable outside of cargo test makes the test permanently fail, there's another problem: other tests are temporarily setting SCCACHE_CACHE_MULTIARCH, and tests run in parallel. So there's a race condition: if test_parse_arguments_multiarch_cache_disabled runs at the same time as some of these other tests, it fails, otherwise, it passes.
The text was updated successfully, but these errors were encountered: