Skip to content
This repository has been archived by the owner on May 3, 2023. It is now read-only.

Commit

Permalink
Added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrt committed Nov 6, 2015
1 parent b468c7b commit ba7b84a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/time_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ pub mod test_utils {
use std::sync::{Mutex, MutexGuard};


// A global mutex is needed because tests are run in parallel
// We need to avoid tests change time zone concurrently
lazy_static! {
static ref TZLOCK: Mutex<i32> = Mutex::new(0);
}
Expand Down

0 comments on commit ba7b84a

Please sign in to comment.