Commit 5f30fa60 authored by dieter's avatar dieter

try to fix race condition in test `runzeo_without_configfile`

parent 79016f8f
...@@ -258,7 +258,7 @@ class ZEOServer(object): ...@@ -258,7 +258,7 @@ class ZEOServer(object):
def close_server(self): def close_server(self):
if self.server is not None: if self.server is not None:
self.server.close() self.server.close()
if self.options.testing_exit_immediately: if getattr(self.options, "testing_exit_immediately", False):
# usually, this happens automatically - but not for testing # usually, this happens automatically - but not for testing
self.server.acceptor.event_loop.close() self.server.acceptor.event_loop.close()
......
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