summaryrefslogtreecommitdiff
path: root/qpid/python
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-09-20 15:54:14 +0000
committerAlan Conway <aconway@apache.org>2010-09-20 15:54:14 +0000
commitcec564dfe26c73e231ab008d80da205da07baa6c (patch)
treee258032cfd0437b8b1f479632aa6784ec879cee7 /qpid/python
parent4b7bc0b5a9a2ce0d263139dc40d20e3a08ca3023 (diff)
downloadqpid-python-cec564dfe26c73e231ab008d80da205da07baa6c.tar.gz
Increase timeout waiting for brokers to be ready.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@998965 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
-rw-r--r--qpid/python/qpid/brokertest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/python/qpid/brokertest.py b/qpid/python/qpid/brokertest.py
index 2eb52fa8c9..4571712ca6 100644
--- a/qpid/python/qpid/brokertest.py
+++ b/qpid/python/qpid/brokertest.py
@@ -384,7 +384,7 @@ class Broker(Popen):
def ready(self, **kwargs):
"""Wait till broker is ready to serve clients"""
# First make sure the broker is listening by checking the log.
- if not retry(self.log_ready):
+ if not retry(self.log_ready, timeout=30):
raise Exception(
"Timed out waiting for broker %s%s"%(self.name, error_line(self.log,4)))
# Create a connection and a session. For a cluster broker this will