diff options
| author | Robert Godfrey <rgodfrey@apache.org> | 2012-02-21 20:54:07 +0000 |
|---|---|---|
| committer | Robert Godfrey <rgodfrey@apache.org> | 2012-02-21 20:54:07 +0000 |
| commit | c53e98308690592ae3e9c24f1342d6ba5e9a1648 (patch) | |
| tree | 0fc3f55bcffc6c938b606ac19e5e9d96259ff01b /qpid/tests/src/py | |
| parent | 24fd3d18fe61d07f9801119a723a3eeb540b36b5 (diff) | |
| download | qpid-python-c53e98308690592ae3e9c24f1342d6ba5e9a1648.tar.gz | |
QPID-3595 : Python Alternate Exchange tests fail against the Java Broker
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292008 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/tests/src/py')
| -rw-r--r-- | qpid/tests/src/py/qpid_tests/broker_0_10/new_api.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/tests/src/py/qpid_tests/broker_0_10/new_api.py b/qpid/tests/src/py/qpid_tests/broker_0_10/new_api.py index 0bbcf342bc..5e03a7b487 100644 --- a/qpid/tests/src/py/qpid_tests/broker_0_10/new_api.py +++ b/qpid/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 |
