diff --git a/test/miscellaneous/async_task.cpp b/test/miscellaneous/async_task.cpp index c1a2bd82e..c32c2396f 100644 --- a/test/miscellaneous/async_task.cpp +++ b/test/miscellaneous/async_task.cpp @@ -75,7 +75,7 @@ TEST(AsyncTask, RequestCoalescingMultithreaded) { std::vector>> threads; ThreadContext context = {"Test", ThreadType::Map, ThreadPriority::Regular}; - unsigned numThreads = 50; + unsigned numThreads = 25; for (unsigned i = 0; i < numThreads; ++i) { std::unique_ptr> thread = std::make_unique>(context, &async); @@ -99,7 +99,7 @@ TEST(AsyncTask, ThreadSafety) { AsyncTask async([&count] { ++count; }); async.unref(); - unsigned numThreads = 50; + unsigned numThreads = 25; auto callback = [&] { if (!--numThreads) {