Skip to content

Commit 7729fb6

Browse files
committed
increase the timeout (maybe it works like this?)
1 parent 65a8987 commit 7729fb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4015,7 +4015,7 @@ def test_config_queue_handler_multiprocessing_context(self):
40154015
# use 1 process and 1 task per child to put 1 record
40164016
with ctx.Pool(1, initializer=self._mpinit_issue121723,
40174017
initargs=(q, "text"), maxtasksperchild=1):
4018-
records.append(q.get(timeout=0.5))
4018+
records.append(q.get(timeout=2))
40194019
self.assertTrue(q.empty())
40204020
self.assertEqual(len(records), 1)
40214021

0 commit comments

Comments
 (0)