Commit f9ff5f02 authored by Neal Norwitz's avatar Neal Norwitz

This was required on OS X to prevent the test from deadlocking. I'm not sure

if this is just a test problem or something deeper.  Hopefully the test will
stop hanging.
parent ee9b10a9
......@@ -417,6 +417,7 @@ else:
except:
sys.stdout.write(''.join(traceback.format_exception(*sys.exc_info())))
break
time.sleep(0.1)
def server_close(self):
# Again, we want this to run in a thread, so we need to override
......@@ -970,7 +971,11 @@ else:
raise test_support.TestFailed(
"Couldn't fetch data from HTTPS server")
finally:
if test_support.verbose:
sys.stdout.write('stopping server\n')
server.stop()
if test_support.verbose:
sys.stdout.write('joining thread\n')
server.join()
def testAsyncoreServer(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment