Commit 0392f27b authored by Stéphane Blondon's avatar Stéphane Blondon Committed by sblondon

Fix test to error exit value when no servers connexion

parent 6d3f8c09
......@@ -169,6 +169,7 @@ def _main(args=None, prog=None):
if not server_found:
error("Cannot connect to any of the configured ZEO servers.")
def main(*args):
root_logger = logging.getLogger()
old_level = root_logger.getEffectiveLevel()
......
......@@ -202,6 +202,9 @@ seconds of waiting for a connect.
sleep(1)
Couldn't connect to: (('host1', 8100), '2')
close()
Error:
Cannot connect to any of the configured ZEO servers.
Exited 1
>>> ClientStorage.connect_wait = 0
......
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