mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
Wait for a delay before reaping children -- this should fix the
test_socketserver failures on several platforms.
This commit is contained in:
parent
cafb710711
commit
461ed872e2
1 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue