From 888505626d5fd5b8eee141017617d894eb0cc16f Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 15 Jun 2011 20:08:15 +0000 Subject: NO-JIRA: Fix sporadic failures in cluster_tests.py test_management. Fix timing problems with broker shut down in this test. Kill all brokers in the test, rather than leaving the last 2 running to be cleaned up by the harness. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1136166 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/brokertest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/cpp/src/tests/brokertest.py') diff --git a/qpid/cpp/src/tests/brokertest.py b/qpid/cpp/src/tests/brokertest.py index 249cc126cb..36c91489e2 100644 --- a/qpid/cpp/src/tests/brokertest.py +++ b/qpid/cpp/src/tests/brokertest.py @@ -76,7 +76,7 @@ def error_line(filename, n=1): except: return "" return ":\n" + "".join(result) -def retry(function, timeout=10, delay=.01): +def retry(function, timeout=30, delay=.01): """Call function until it returns True or timeout expires. Double the delay for each retry. Return True if function returns true, False if timeout expires.""" -- cgit v1.2.1