This commit is contained in:
Kovid Goyal 2015-06-17 12:35:07 +05:30
parent 5bf13aec38
commit 5b0ecff3cc

View File

@ -108,6 +108,7 @@ class TestServer(Thread):
def __exit__(self, *args): def __exit__(self, *args):
self.loop.stop() self.loop.stop()
self.join(self.loop.opts.shutdown_timeout)
def connect(self, timeout=None): def connect(self, timeout=None):
if timeout is None: if timeout is None: