From 052113009e7a515a40a8d7c13cfae3465ec49562 Mon Sep 17 00:00:00 2001 From: "Stephen M. Coakley" Date: Sun, 5 Feb 2023 19:50:24 -0600 Subject: [PATCH] Update join test timing slop --- tests/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests.rs b/tests/tests.rs index 53592d2..7f92592 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -49,7 +49,7 @@ fn task_join_timeout() { let pool = single_thread(); let result = pool - .execute(|| thread::sleep(Duration::from_millis(50))) + .execute(|| thread::sleep(Duration::from_secs(5))) .join_timeout(Duration::from_millis(10)); assert!(result.is_err());