summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socketserver.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-02-03 00:04:50 (GMT)
committerGeorg Brandl <georg@python.org>2008-02-03 00:04:50 (GMT)
commit461ed872e28e8186896785f17031468c7b86084f (patch)
tree2f0b0e5b7b4d4a27e0852c4c976a91fcbac23c3a /Lib/test/test_socketserver.py
parentcafb71071183406601a30d16ac5a287cdd2b9c39 (diff)
downloadcpython-461ed872e28e8186896785f17031468c7b86084f.zip
cpython-461ed872e28e8186896785f17031468c7b86084f.tar.gz
cpython-461ed872e28e8186896785f17031468c7b86084f.tar.bz2
Wait for a delay before reaping children -- this should fix the
test_socketserver failures on several platforms.
Diffstat (limited to 'Lib/test/test_socketserver.py')
-rw-r--r--Lib/test/test_socketserver.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_socketserver.py b/Lib/test/test_socketserver.py
index b66eea2..d8ae4da 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: