From: Georg Brandl Date: Sun, 3 Feb 2008 00:04:50 +0000 (+0000) Subject: Wait for a delay before reaping children -- this should fix the X-Git-Tag: v2.6a1~297 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=461ed872e28e8186896785f17031468c7b86084f;p=thirdparty%2FPython%2Fcpython.git Wait for a delay before reaping children -- this should fix the test_socketserver failures on several platforms. --- diff --git a/Lib/test/test_socketserver.py b/Lib/test/test_socketserver.py index b66eea2282da..d8ae4da7a1ec 100644 --- a/Lib/test/test_socketserver.py +++ b/Lib/test/test_socketserver.py @@ -125,6 +125,7 @@ class SocketServerTest(unittest.TestCase): self.test_files = [] def tearDown(self): + time.sleep(DELAY) reap_children() for fn in self.test_files: @@ -209,7 +210,7 @@ class SocketServerTest(unittest.TestCase): MyStreamHandler, self.stream_examine) def test_UDPServers(self): - # Test SocketServer.UPDServer + # Test SocketServer.UDPServer servers = [SocketServer.UDPServer, SocketServer.ThreadingUDPServer] if HAVE_FORKING: