summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-09-24 04:06:05 -0700
committerGitHub <noreply@github.com>2019-09-24 04:06:05 -0700
commitc13a4d6a94b5fab52422fcba612b3d1790aa3422 (patch)
tree15b6d44ddfe1cfdf3b191ecd33f715111c0c68b7
parent912b5a986c4fe0f4d758d7536ce818b1ab672437 (diff)
downloadcpython-git-c13a4d6a94b5fab52422fcba612b3d1790aa3422.tar.gz
bpo-38212: Increase MP test_queue_feeder_donot_stop_onexc() timeout (GH-16348)
Multiprocessing tests: increase test_queue_feeder_donot_stop_onexc() timeout from 1 to 60 seconds. (cherry picked from commit 99799c722065d0524f3ab0bc455e1938bb8dc60f) Co-authored-by: Victor Stinner <vstinner@python.org>
-rw-r--r--Lib/test/_test_multiprocessing.py3
-rw-r--r--Misc/NEWS.d/next/Tests/2019-09-24-12-24-05.bpo-38212.IWbhWz.rst2
2 files changed, 3 insertions, 2 deletions
diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py
index fb65e5e1ab..affe102483 100644
--- a/Lib/test/_test_multiprocessing.py
+++ b/Lib/test/_test_multiprocessing.py
@@ -1057,8 +1057,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
index 0000000000..83a812d469
--- /dev/null
+++ b/Misc/NEWS.d/next/Tests/2019-09-24-12-24-05.bpo-38212.IWbhWz.rst
@@ -0,0 +1,2 @@
+Multiprocessing tests: increase test_queue_feeder_donot_stop_onexc() timeout
+from 1 to 60 seconds.