]> granicus.if.org Git - python/commitdiff
bpo-38212: Increase MP test_queue_feeder_donot_stop_onexc() timeout (GH-16348)
authorVictor Stinner <vstinner@python.org>
Tue, 24 Sep 2019 10:47:49 +0000 (12:47 +0200)
committerGitHub <noreply@github.com>
Tue, 24 Sep 2019 10:47:49 +0000 (12:47 +0200)
Multiprocessing tests: increase test_queue_feeder_donot_stop_onexc()
timeout from 1 to 60 seconds.

Lib/test/_test_multiprocessing.py
Misc/NEWS.d/next/Tests/2019-09-24-12-24-05.bpo-38212.IWbhWz.rst [new file with mode: 0644]

index c717d0aad2874b583672ebfef0e3d0d242a5fb51..b720a483e9be5cc8eb7938e0559fea17c25d7ae3 100644 (file)
@@ -1128,8 +1128,7 @@ class _TestQueue(BaseTestCase):
             q = self.Queue()
             q.put(NotSerializable())
             q.put(True)
-            # bpo-30595: use a timeout of 1 second for slow buildbots
-            self.assertTrue(q.get(timeout=1.0))
+            self.assertTrue(q.get(timeout=TIMEOUT))
             close_queue(q)
 
         with test.support.captured_stderr():
diff --git a/Misc/NEWS.d/next/Tests/2019-09-24-12-24-05.bpo-38212.IWbhWz.rst b/Misc/NEWS.d/next/Tests/2019-09-24-12-24-05.bpo-38212.IWbhWz.rst
new file mode 100644 (file)
index 0000000..83a812d
--- /dev/null
@@ -0,0 +1,2 @@
+Multiprocessing tests: increase test_queue_feeder_donot_stop_onexc() timeout
+from 1 to 60 seconds.