diff options
| author | Rajith Muditha Attapattu <rajith@apache.org> | 2010-10-14 21:21:02 +0000 |
|---|---|---|
| committer | Rajith Muditha Attapattu <rajith@apache.org> | 2010-10-14 21:21:02 +0000 |
| commit | 4a815ef3a1fac122c16c7a97516612a1fa8793c0 (patch) | |
| tree | b68e2281cf9bf9defb9aa54835a324cdd47d48b9 /qpid/cpp/src/tests/Array.cpp | |
| parent | 0d5fab5c052c5c4e4519ec3b0e9973aea45bd5f4 (diff) | |
| download | qpid-python-4a815ef3a1fac122c16c7a97516612a1fa8793c0.tar.gz | |
QPID-2418
The tests "testResubscribeWithChangedSelectorNoClose" and "testDurSubAddMessageSelectorNoClose" are failing against the c++ broker due to wrong assumptions made in the test cases.
It creates subscriptions, then sends messages and tries to check the queue depth. However the c++ broker (not sure what the java broker behaviour is) will imediately send the messages to the java client. All though the messages are received in no-acquire mode the broker will not show them as available unless the client releases them.
I added a connection stop immediately before the messages were sent, preventing the broker from sending them to the consumer.
And then I added a connection start soon after the queue depth is querried.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1022722 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/Array.cpp')
0 files changed, 0 insertions, 0 deletions
