env_lock

Function env_lock 

Source
pub fn env_lock() -> &'static Mutex<()>
Expand description

Global test utilities

Provides a process-wide mutex to serialize tests that mutate process-wide state (like environment variables). Use this to avoid flaky tests when cargo test runs tests in parallel.