summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/brokertest.py
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2011-06-15 20:08:15 +0000
committerAlan Conway <aconway@apache.org>2011-06-15 20:08:15 +0000
commit888505626d5fd5b8eee141017617d894eb0cc16f (patch)
treef749a9a53e407499726693efe9973225f860a0ef /qpid/cpp/src/tests/brokertest.py
parent29c8ea12bfd1f735b4e3bee3d222c8000ff0655c (diff)
downloadqpid-python-888505626d5fd5b8eee141017617d894eb0cc16f.tar.gz
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
Diffstat (limited to 'qpid/cpp/src/tests/brokertest.py')
-rw-r--r--qpid/cpp/src/tests/brokertest.py2
1 files changed, 1 insertions, 1 deletions
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."""