From 3049f1243ec85590f64962994f055da66c85a15e Mon Sep 17 00:00:00 2001 From: Richard Oudkerk Date: Fri, 15 Jun 2012 20:08:29 +0100 Subject: Increase timeout used when waiting for manager to shutdown cleanly before resorting to terminate() --- Lib/test/test_multiprocessing.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Lib/test/test_multiprocessing.py') diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py index e4031f69277..d79110abbac 100644 --- a/Lib/test/test_multiprocessing.py +++ b/Lib/test/test_multiprocessing.py @@ -1820,6 +1820,11 @@ class _TestZZZNumberOfObjects(BaseTestCase): # run after all the other tests for the manager. It tests that # there have been no "reference leaks" for the manager's shared # objects. Note the comment in _TestPool.test_terminate(). + + # If some other test using ManagerMixin.manager fails, then the + # raised exception may keep alive a frame which holds a reference + # to a managed object. This will cause test_number_of_objects to + # also fail. ALLOWED_TYPES = ('manager',) def test_number_of_objects(self): -- cgit v1.2.3