Commit 1e637b73 authored by Benjamin Peterson's avatar Benjamin Peterson

fix hanging test_xmlrpc

parent 4f92ca40
...@@ -320,7 +320,7 @@ class SimpleServerTestCase(unittest.TestCase): ...@@ -320,7 +320,7 @@ class SimpleServerTestCase(unittest.TestCase):
def tearDown(self): def tearDown(self):
# wait on the server thread to terminate # wait on the server thread to terminate
self.evt.wait(4.0) self.evt.wait(4.0)
if not self.evt.isSet(): if not self.evt.is_set():
self.evt.set() self.evt.set()
stop_serving() stop_serving()
raise RuntimeError("timeout reached, test has failed") raise RuntimeError("timeout reached, test has failed")
......
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