rustup
This commit is contained in:
parent
31fb32e49f
commit
f0921bd5dc
@ -1 +1 @@
|
||||
9e2f65586366b731f13a10021c5191a664f4adc2
|
||||
32c8c5df06c025441ad04791d7982d65c79a60e4
|
||||
|
@ -91,7 +91,7 @@ fn check_conditional_variables_timed_wait_timeout() {
|
||||
let (_guard, timeout) = cvar.wait_timeout(guard, Duration::from_millis(100)).unwrap();
|
||||
assert!(timeout.timed_out());
|
||||
let elapsed_time = now.elapsed().as_millis();
|
||||
assert!(100 <= elapsed_time && elapsed_time <= 800);
|
||||
assert!(100 <= elapsed_time && elapsed_time <= 1000);
|
||||
}
|
||||
|
||||
/// Test that signaling a conditional variable when waiting with a timeout works
|
||||
|
Loading…
Reference in New Issue
Block a user