summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Godfrey <rgodfrey@apache.org>2012-02-21 20:54:07 +0000
committerRobert Godfrey <rgodfrey@apache.org>2012-02-21 20:54:07 +0000
commit30d6797d90736a44965a68e6e380ad1508390ed4 (patch)
tree69cd7176db3b25cf78ab47c0ff2d93e83c35078d /tests
parentcb3904b70a3ec108be68693389e40eb5933a75e8 (diff)
downloadqpid-python-30d6797d90736a44965a68e6e380ad1508390ed4.tar.gz
QPID-3595 : Python Alternate Exchange tests fail against the Java Broker
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1292008 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tests')
-rw-r--r--tests/src/py/qpid_tests/broker_0_10/new_api.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/src/py/qpid_tests/broker_0_10/new_api.py b/tests/src/py/qpid_tests/broker_0_10/new_api.py
index 0bbcf342bc..5e03a7b487 100644
--- a/tests/src/py/qpid_tests/broker_0_10/new_api.py
+++ b/tests/src/py/qpid_tests/broker_0_10/new_api.py
@@ -74,7 +74,7 @@ class GeneralTests(Base):
self.assertEqual(rx_alt.available(), 0, "No messages should have been routed to the alt_exchange")
sess1.close()
-
+ sleep(1)
self.assertEqual(rx_alt.available(), 5, "All 5 messages should have been routed to the alt_exchange")
sess2.close()
@@ -108,6 +108,7 @@ class GeneralTests(Base):
# Close sess1; This will cause the queue to be deleted
sess1.close()
+ sleep(1)
self.assertEqual(rx_alt.available(), 2, "2 of the messages should have been routed to the alt_exchange")
# Close sess2; This will cause the acquired messages to be requeued and routed to the alternate