Skip to content

Commit 0521130

Browse files
committed
Update join test timing slop
1 parent aa5341f commit 0521130

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ fn task_join_timeout() {
4949
let pool = single_thread();
5050

5151
let result = pool
52-
.execute(|| thread::sleep(Duration::from_millis(50)))
52+
.execute(|| thread::sleep(Duration::from_secs(5)))
5353
.join_timeout(Duration::from_millis(10));
5454

5555
assert!(result.is_err());

0 commit comments

Comments
 (0)