rustup; less strict timing tests

This commit is contained in:
Ralf Jung 2020-11-12 16:50:24 +01:00
parent df4109151b
commit 915d091973
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
38030ffb4e735b26260848b744c0910a5641e1db
12f0dba618e761c987142474435dff95ab177f3c

View File

@ -90,7 +90,7 @@ fn wait_timeout() {
assert_eq!(*libc::__errno_location(), libc::ETIMEDOUT);
}
assert!((200..500).contains(&start.elapsed().as_millis()));
assert!((200..1000).contains(&start.elapsed().as_millis()));
}
fn wait_wake() {
@ -120,7 +120,7 @@ fn wait_wake() {
), 0);
}
assert!((200..500).contains(&start.elapsed().as_millis()));
assert!((200..1000).contains(&start.elapsed().as_millis()));
}
fn main() {