diff --git a/test/test_process_pool_spawn.py b/test/test_process_pool_spawn.py index f839b0a..d734bdf 100644 --- a/test/test_process_pool_spawn.py +++ b/test/test_process_pool_spawn.py @@ -315,7 +315,7 @@ def stop_pool_callback(_): future = pool.schedule(function, args=[1]) future.add_done_callback(stop_pool_callback) with self.assertRaises(RuntimeError): - for index in range(10): + for index in range(30): time.sleep(0.1) pool.schedule(long_function, args=[index])