summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-05-07 15:54:21 +0000
committerAlan Conway <aconway@apache.org>2010-05-07 15:54:21 +0000
commitd996010af053e9deda93a363c2420fa2e480eacd (patch)
treeb1b6489093b757fe0b2a69be8dc85d7786ac2a50 /python
parent3086aa187b5b7276edd439793e59ca8103cbca3c (diff)
downloadqpid-python-d996010af053e9deda93a363c2420fa2e480eacd.tar.gz
Increase retry timeout, previous value was causing occasional invald test failures.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942132 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 f78dcf4c35..c55ca7980d 100644
--- a/python/qpid/brokertest.py
+++ b/python/qpid/brokertest.py
@@ -90,7 +90,7 @@ def error_line(filename):
except: return ""
return result
-def retry(function, timeout=5, delay=.01):
+def retry(function, timeout=10, 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."""