From bd3fe5fac92e25544d6fc12126f793cb4dd74040 Mon Sep 17 00:00:00 2001 From: Greg Fitzgerald Date: Mon, 19 Feb 2018 12:33:33 -0700 Subject: [PATCH] Sleep a little longer to ensure Travis context switches --- src/historian.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/historian.rs b/src/historian.rs index 5e7b2054d8d276..380d432f2222b3 100644 --- a/src/historian.rs +++ b/src/historian.rs @@ -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();