forked from mirror/async-std
Reduces duration in timeout test.
Tries to get CI to pass.
This commit is contained in:
parent
e9621af345
commit
baead51a28
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ fn wait_timeout_with_lock() {
|
||||||
|
|
||||||
let (m, c) = &*pair;
|
let (m, c) = &*pair;
|
||||||
let (_, wait_result) = c
|
let (_, wait_result) = c
|
||||||
.wait_timeout(m.lock().await, Duration::from_millis(100))
|
.wait_timeout(m.lock().await, Duration::from_millis(50))
|
||||||
.await;
|
.await;
|
||||||
assert!(wait_result.timed_out());
|
assert!(wait_result.timed_out());
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue