This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2020-04-27.21:48:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588024108.26.0.879942960166.issue39995@roundup.psfhosted.org>
In-reply-to
Content
> ERROR: test_killed_child (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolExecutorTest)

The patch below makes this test failure more likely:

diff --git a/Lib/multiprocessing/connection.py b/Lib/multiprocessing/connection.py
index 510e4b5aba..63518e55d9 100644
--- a/Lib/multiprocessing/connection.py
+++ b/Lib/multiprocessing/connection.py
@@ -370,6 +370,7 @@ class Connection(_ConnectionBase):
     def _send(self, buf, write=_write):
         remaining = len(buf)
         while True:
+            time.sleep(0.050)
             n = write(self._handle, buf)
             remaining -= n
             if remaining == 0:
History
Date User Action Args
2020-04-27 21:48:28vstinnersetrecipients: + vstinner
2020-04-27 21:48:28vstinnersetmessageid: <1588024108.26.0.879942960166.issue39995@roundup.psfhosted.org>
2020-04-27 21:48:28vstinnerlinkissue39995 messages
2020-04-27 21:48:28vstinnercreate