]> granicus.if.org Git - python/commitdiff
Wait for a delay before reaping children -- this should fix the
authorGeorg Brandl <georg@python.org>
Sun, 3 Feb 2008 00:04:50 +0000 (00:04 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 3 Feb 2008 00:04:50 +0000 (00:04 +0000)
test_socketserver failures on several platforms.

Lib/test/test_socketserver.py

index b66eea2282da9062456c297edf1f373e0c6bac03..d8ae4da7a1ec46b1f24019dc5e0cccaafad401a4 100644 (file)
@@ -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: