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 config tests test_config_file_path_override_with_env_var and
test_new_method_without_wassette_config_file_env both mutated the shared
WASSETTE_CONFIG_FILE environment variable using a manual SetEnv helper and
std::env::remove_var. When run in parallel they raced, intermittently
clearing the var set by one test and causing Config::new to fall back to the
default component directory.
Use the temp_env crate (already used by the other env-dependent tests in
this module) to serialize access to the environment variable, and remove the
now-unused SetEnv helper.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments