diff --git a/src/sled/system/thread_pool_test.cc b/src/sled/system/thread_pool_test.cc index 1a51507..24985be 100644 --- a/src/sled/system/thread_pool_test.cc +++ b/src/sled/system/thread_pool_test.cc @@ -60,10 +60,10 @@ TEST_SUITE("ThreadPool") delete tp; } - TEST_CASE("10^6 task test") + TEST_CASE("10^5 task test") { sled::ThreadPool *tp = new sled::ThreadPool(); - const int task_num = 1E4; + const int task_num = 1E5; sled::WaitGroup wg(task_num); for (int i = 0; i < task_num; i++) { tp->PostTask([wg] { wg.Done(); });