diff options
author | Kim van der Riet <kpvdr@apache.org> | 2009-09-22 18:15:57 +0000 |
---|---|---|
committer | Kim van der Riet <kpvdr@apache.org> | 2009-09-22 18:15:57 +0000 |
commit | 8fa554a65a77bb93e76c9ba9870ee485d850cf84 (patch) | |
tree | 78607cf48ab29622fb566cfd630422d229305eb9 /qpid/cpp/src/tests/QueueTest.cpp | |
parent | 410f2e510147b502ad3b625572b2a337e550f63b (diff) | |
download | qpid-python-8fa554a65a77bb93e76c9ba9870ee485d850cf84.tar.gz |
Minor update to allow store access to the message isPersistent() method. This is required for correctly setting the transient flag.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@817748 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/QueueTest.cpp')
-rw-r--r-- | qpid/cpp/src/tests/QueueTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/QueueTest.cpp b/qpid/cpp/src/tests/QueueTest.cpp index 756f4ac3f6..0acfa1b1ff 100644 --- a/qpid/cpp/src/tests/QueueTest.cpp +++ b/qpid/cpp/src/tests/QueueTest.cpp @@ -817,7 +817,7 @@ QPID_AUTO_TEST_CASE(testFlowToDiskBlocking){ BOOST_CHECK_EQUAL(msg02->isContentReleased(), false); BOOST_CHECK_EQUAL(1u, tq1->getMessageCount()); - intrusive_ptr<Message> msg03 = mkMsg(testStore, std::string(5, 'X'), true); // transient w/ content + intrusive_ptr<Message> msg03 = mkMsg(testStore, std::string(5, 'X'), true); // durable w/ content DeliverableMessage dmsg03(msg03); BOOST_CHECK_THROW(sbtFanout1.route(dmsg03, "", 0), ResourceLimitExceededException); msg03->tryReleaseContent(); |