Skip to content

Commit

Permalink
Slightly relax tests for Windows CI runners
Browse files Browse the repository at this point in the history
  • Loading branch information
zesterer committed Oct 27, 2022
1 parent 338cb90 commit b4f88e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,10 @@ fn rendezvous() {
tx.send(()).unwrap();
let now = Instant::now();

assert!(now.duration_since(then) > Duration::from_millis(50), "iter = {}", i);
assert!(now.duration_since(then) > Duration::from_millis(100), "iter = {}", i);
});

std::thread::sleep(Duration::from_millis(500));
std::thread::sleep(Duration::from_millis(1000));
rx.recv().unwrap();

t.join().unwrap();
Expand Down

0 comments on commit b4f88e5

Please sign in to comment.