Skip to content

Commit

Permalink
Fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
sagebind committed Oct 28, 2021
1 parent 98c614c commit 97c4697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ fn join_timeout_expiring() {

// Schedule a slow task on the only thread. We have to keep the task
// around, because dropping it could cancel the task.
let _task = pool.execute(|| thread::sleep(Duration::from_millis(50)));
let _task = pool.execute(|| thread::sleep(Duration::from_millis(500)));

// Joining should time out since there's one task still running longer
// than our join timeout.
Expand Down

0 comments on commit 97c4697

Please sign in to comment.