Commit 95fcfdb3 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Increase delay before request partition table to available storage nodes because

1 second was too short for the ZODB test, this will not be usefull when the
start will be manual.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@559 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 51911b2f
......@@ -387,9 +387,10 @@ class Application(object):
while self.target_uuid is None:
em.poll(1)
# Wait a bit.
# Wait a bit, 1 second is too short for the ZODB test running on a
# dedibox
t = time()
while time() < t + 1:
while time() < t + 5:
em.poll(1)
# Now I have at least one to ask.
......
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