From 1ae72df2ca7a0f1a66b7c97f86409ff9761e4f85 Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Tue, 2 Jun 2009 22:19:07 +0000 Subject: 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 --- python/qpid/tests/messaging.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'python/qpid/tests') 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): -- cgit v1.2.1