You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2010/09/20 17:54:14 UTC

svn commit: r998965 - /qpid/trunk/qpid/python/qpid/brokertest.py

Author: aconway
Date: Mon Sep 20 15:54:14 2010
New Revision: 998965

URL: http://svn.apache.org/viewvc?rev=998965&view=rev
Log:
Increase timeout waiting for brokers to be ready.

Modified:
    qpid/trunk/qpid/python/qpid/brokertest.py

Modified: qpid/trunk/qpid/python/qpid/brokertest.py
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/python/qpid/brokertest.py?rev=998965&r1=998964&r2=998965&view=diff
==============================================================================
--- qpid/trunk/qpid/python/qpid/brokertest.py (original)
+++ qpid/trunk/qpid/python/qpid/brokertest.py Mon Sep 20 15:54:14 2010
@@ -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



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org