Skip to content

Commit

Permalink
Sleep a little longer to ensure Travis context switches
Browse files Browse the repository at this point in the history
  • Loading branch information
garious committed Feb 19, 2018
1 parent 10a70a2 commit bd3fe5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/historian.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ mod tests {
let hist = Historian::new(0);

hist.sender.send(Event::Tick).unwrap();
sleep(Duration::new(0, 100_000));
sleep(Duration::new(0, 1_000_000));
hist.sender.send(Event::UserDataKey(0xdeadbeef)).unwrap();
sleep(Duration::new(0, 100_000));
sleep(Duration::new(0, 1_000_000));
hist.sender.send(Event::Tick).unwrap();

let entry0 = hist.receiver.recv().unwrap();
Expand Down

0 comments on commit bd3fe5f

Please sign in to comment.