Skip to content

Commit

Permalink
fix timing thread_pool unit tesrs
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 committed Sep 4, 2023
1 parent 42b6fe3 commit 95c877c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ namespace xtd::tests {
}};
for (auto index = 0ul; index < 2 * max_worker_threads; ++index)
thread_pool::queue_user_work_item(action);
thread::sleep(5);
thread::sleep(10);
thread_pool::close();
assert::are_equal(2 * max_worker_threads, count, csf_);
}
Expand Down

0 comments on commit 95c877c

Please sign in to comment.