From 34ddd775e8352c4905b56f183421902cdda9d100 Mon Sep 17 00:00:00 2001 From: Vytautas Astrauskas Date: Mon, 25 May 2020 08:07:07 +0200 Subject: [PATCH] Increase the elapsed time window. --- tests/run-pass/concurrency/libc_pthread_cond.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run-pass/concurrency/libc_pthread_cond.rs b/tests/run-pass/concurrency/libc_pthread_cond.rs index 39b6a7e4ef8..27f5ead450f 100644 --- a/tests/run-pass/concurrency/libc_pthread_cond.rs +++ b/tests/run-pass/concurrency/libc_pthread_cond.rs @@ -34,7 +34,7 @@ fn test_timed_wait_timeout(clock_id: i32) { libc::ETIMEDOUT ); let elapsed_time = current_time.elapsed().as_millis(); - assert!(900 <= elapsed_time && elapsed_time <= 1100); + assert!(900 <= elapsed_time && elapsed_time <= 1300); assert_eq!(libc::pthread_mutex_unlock(&mut mutex as *mut _), 0); assert_eq!(libc::pthread_mutex_destroy(&mut mutex as *mut _), 0); assert_eq!(libc::pthread_cond_destroy(&mut cond as *mut _), 0);