Skip to content

Commit ad15ee5

Browse files
committed
Allow more time for queue to get data back
Technically this should probably be faster than the 1 second, but sometimes can be a bit slower
1 parent 2b31fab commit ad15ee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_concurrent_futures/test_process_pool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def test_process_pool_executor_terminate_kill_workers(self):
237237
executor.submit(_put_sleep_put, q)
238238

239239
# We should get started, but not finished since we'll terminate the workers just after
240-
self.assertEqual(q.get(timeout=1), 'started')
240+
self.assertEqual(q.get(timeout=5), 'started')
241241

242242
worker_process = list(executor._processes.values())[0]
243243
getattr(executor, function_name)()

0 commit comments

Comments
 (0)