summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/TxPublishTest.cpp
diff options
context:
space:
mode:
authorKim van der Riet <kpvdr@apache.org>2011-07-19 19:57:06 +0000
committerKim van der Riet <kpvdr@apache.org>2011-07-19 19:57:06 +0000
commitb877c84924aa9c90caa54623735e5f754b124781 (patch)
tree2e7f4e1b3c7b630f0bed5df66cf2fd960f18fa6d /qpid/cpp/src/tests/TxPublishTest.cpp
parentfff763944c9bca13f6fcf2eed8c88ba30db8fdd0 (diff)
downloadqpid-python-b877c84924aa9c90caa54623735e5f754b124781.tar.gz
QPID-702656 Patch from Gordon Sim plus tests which detect the condition being solved. Added a make check-long target to the Makefile in the cpp dir to make it easier to run the long tests.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1148503 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/TxPublishTest.cpp')
-rw-r--r--qpid/cpp/src/tests/TxPublishTest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/TxPublishTest.cpp b/qpid/cpp/src/tests/TxPublishTest.cpp
index 210abf0a5b..152581e4ba 100644
--- a/qpid/cpp/src/tests/TxPublishTest.cpp
+++ b/qpid/cpp/src/tests/TxPublishTest.cpp
@@ -50,10 +50,9 @@ struct TxPublishTest
TxPublishTest() :
queue1(new Queue("queue1", false, &store, 0)),
queue2(new Queue("queue2", false, &store, 0)),
- msg(MessageUtils::createMessage("exchange", "routing_key", false, "id")),
+ msg(MessageUtils::createMessage("exchange", "routing_key", true)),
op(msg)
{
- msg->getProperties<DeliveryProperties>()->setDeliveryMode(PERSISTENT);
op.deliverTo(queue1);
op.deliverTo(queue2);
}