Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
0392f27b
Commit
0392f27b
authored
Oct 04, 2022
by
Stéphane Blondon
Committed by
sblondon
Oct 05, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test to error exit value when no servers connexion
parent
6d3f8c09
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
src/ZEO/scripts/zeopack.py
src/ZEO/scripts/zeopack.py
+1
-0
src/ZEO/scripts/zeopack.test
src/ZEO/scripts/zeopack.test
+3
-0
No files found.
src/ZEO/scripts/zeopack.py
View file @
0392f27b
...
@@ -169,6 +169,7 @@ def _main(args=None, prog=None):
...
@@ -169,6 +169,7 @@ def _main(args=None, prog=None):
if
not
server_found
:
if
not
server_found
:
error
(
"Cannot connect to any of the configured ZEO servers."
)
error
(
"Cannot connect to any of the configured ZEO servers."
)
def
main
(
*
args
):
def
main
(
*
args
):
root_logger
=
logging
.
getLogger
()
root_logger
=
logging
.
getLogger
()
old_level
=
root_logger
.
getEffectiveLevel
()
old_level
=
root_logger
.
getEffectiveLevel
()
...
...
src/ZEO/scripts/zeopack.test
View file @
0392f27b
...
@@ -202,6 +202,9 @@ seconds of waiting for a connect.
...
@@ -202,6 +202,9 @@ seconds of waiting for a connect.
sleep(1)
sleep(1)
Couldn'
t
connect
to
:
((
'host1'
,
8100
),
'2'
)
Couldn'
t
connect
to
:
((
'host1'
,
8100
),
'2'
)
close
()
close
()
Error
:
Cannot
connect
to
any
of
the
configured
ZEO
servers
.
Exited
1
>>>
ClientStorage
.
connect_wait
=
0
>>>
ClientStorage
.
connect_wait
=
0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment