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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZEO
Commits
9ad70632
Commit
9ad70632
authored
Jun 08, 2016
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wait much longer for servers to start cuz address already in use
parent
01294186
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/ZEO/tests/forker.py
src/ZEO/tests/forker.py
+4
-4
No files found.
src/ZEO/tests/forker.py
View file @
9ad70632
...
@@ -161,10 +161,10 @@ def start_zeo_server(storage_conf=None, zeo_conf=None, port=None, keep=False,
...
@@ -161,10 +161,10 @@ def start_zeo_server(storage_conf=None, zeo_conf=None, port=None, keep=False,
else
:
else
:
pid
=
subprocess
.
Popen
(
args
,
env
=
d
,
close_fds
=
True
).
pid
pid
=
subprocess
.
Popen
(
args
,
env
=
d
,
close_fds
=
True
).
pid
# We need to wait until the server starts, but not forever.
# We need to wait until the server starts, but not forever.
150
#
30 seconds is a somewhat arbitrary upper bound. A BDBStorage
#
seconds is a somewhat arbitrary upper bound, but probably helps
#
takes a long time to open -- more than 10 seconds on occas
ion.
#
in an address already in use situat
ion.
for
i
in
range
(
3
00
):
for
i
in
range
(
15
00
):
time
.
sleep
(
0.1
)
time
.
sleep
(
0.1
)
try
:
try
:
if
isinstance
(
adminaddr
,
str
)
and
not
os
.
path
.
exists
(
adminaddr
):
if
isinstance
(
adminaddr
,
str
)
and
not
os
.
path
.
exists
(
adminaddr
):
...
...
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