Reduces duration in timeout test.

Tries to get CI to pass.
This commit is contained in:
Azriel Hoh 2020-05-13 10:38:40 +12:00
parent e9621af345
commit baead51a28

View file

@ -29,7 +29,7 @@ fn wait_timeout_with_lock() {
let (m, c) = &*pair;
let (_, wait_result) = c
.wait_timeout(m.lock().await, Duration::from_millis(100))
.wait_timeout(m.lock().await, Duration::from_millis(50))
.await;
assert!(wait_result.timed_out());
})