diff options
author | Kim van der Riet <kpvdr@apache.org> | 2009-09-28 15:45:03 +0000 |
---|---|---|
committer | Kim van der Riet <kpvdr@apache.org> | 2009-09-28 15:45:03 +0000 |
commit | 49376423b9d8d2637e637c858718aa4fb2d25d1c (patch) | |
tree | afe7ebf45ae911fc5d65f61b4123f9c0e28b7e75 /cpp/src/tests/QueueTest.cpp | |
parent | e330417937f21c7d3012975055bd09c2c7b8e28a (diff) | |
download | qpid-python-49376423b9d8d2637e637c858718aa4fb2d25d1c.tar.gz |
Transient flow-to-disk messages switched to store from BDB. Only single-queue transient messages are handled at this point, multi-queue bindings are blocked under all circumstances to prevent routing order dependencies from making the outcome inconsistent. BZ525813 - "Move Flow to disk from BDB to journal"
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819600 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/QueueTest.cpp')
-rw-r--r-- | cpp/src/tests/QueueTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/tests/QueueTest.cpp b/cpp/src/tests/QueueTest.cpp index 0acfa1b1ff..3cfaa763ca 100644 --- a/cpp/src/tests/QueueTest.cpp +++ b/cpp/src/tests/QueueTest.cpp @@ -906,7 +906,7 @@ QPID_AUTO_TEST_CASE(testFlowToDiskBlocking){ DeliverableMessage dmsg12(msg12); mbdFanout3.route(dmsg12, "", 0); msg12->tryReleaseContent(); - BOOST_CHECK_EQUAL(msg12->isContentReleased(), true); + BOOST_CHECK_EQUAL(msg12->isContentReleased(), false); // XXXX - consequence of transient msg multi-queue ftd policy-handling limitations, fix in broker at some point! BOOST_CHECK_EQUAL(2u, dq3->getMessageCount()); BOOST_CHECK_EQUAL(2u, dq4->getMessageCount()); BOOST_CHECK_EQUAL(2u, dq5->getMessageCount()); @@ -924,7 +924,7 @@ QPID_AUTO_TEST_CASE(testFlowToDiskBlocking){ DeliverableMessage dmsg14(msg14); mbdFanout3.route(dmsg14, "", 0); msg14->tryReleaseContent(); - BOOST_CHECK_EQUAL(msg14->isContentReleased(), true); + BOOST_CHECK_EQUAL(msg14->isContentReleased(), false); // XXXX - consequence of transient msg multi-queue ftd policy-handling limitations, fix in broker at some point! BOOST_CHECK_EQUAL(4u, dq3->getMessageCount()); BOOST_CHECK_EQUAL(4u, dq4->getMessageCount()); BOOST_CHECK_EQUAL(4u, dq5->getMessageCount()); |