summaryrefslogtreecommitdiff
path: root/python/qpid/tests/messaging.py
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2009-06-02 22:19:07 +0000
committerRafael H. Schloming <rhs@apache.org>2009-06-02 22:19:07 +0000
commit1ae72df2ca7a0f1a66b7c97f86409ff9761e4f85 (patch)
treeb91df8a686d19b05004987495d3499d32cc6183b /python/qpid/tests/messaging.py
parent75cd78bc5af13d6ddddd07cc1ff7f36d0807eed4 (diff)
downloadqpid-python-1ae72df2ca7a0f1a66b7c97f86409ff9761e4f85.tar.gz
added defines to the test harness and made the delay used by the tests configurable
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781187 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/tests/messaging.py')
-rw-r--r--python/qpid/tests/messaging.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/qpid/tests/messaging.py b/python/qpid/tests/messaging.py
index fea61f766b..e32b91a26b 100644
--- a/python/qpid/tests/messaging.py
+++ b/python/qpid/tests/messaging.py
@@ -70,7 +70,8 @@ class Base(Test):
return msgs
def delay(self):
- time.sleep(2)
+ d = float(self.config.defines.get("delay", "2"))
+ time.sleep(d)
class SetupTests(Base):