From cec564dfe26c73e231ab008d80da205da07baa6c Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 20 Sep 2010 15:54:14 +0000 Subject: 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 --- qpid/python/qpid/brokertest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/python') 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 -- cgit v1.2.1