summaryrefslogtreecommitdiff
path: root/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
commit582f1126054d5bd0a05501562dc071c556b892af (patch)
treee90b6348dcf8902d4c7724f7332fb3d1d191ac2d /python
parent6092637263040eeb483434f6c52b47932d0b4d57 (diff)
downloadqpid-python-582f1126054d5bd0a05501562dc071c556b892af.tar.gz
Increase timeout waiting for brokers to be ready.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@998965 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python')
-rw-r--r--python/qpid/brokertest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/qpid/brokertest.py b/python/qpid/brokertest.py
index 2eb52fa8c9..4571712ca6 100644
--- a/python/qpid/brokertest.py
+++ b/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