summaryrefslogtreecommitdiff
path: root/cpp/src/tests/QueueTest.cpp
diff options
context:
space:
mode:
authorCarl C. Trieloff <cctrieloff@apache.org>2009-07-09 20:19:04 +0000
committerCarl C. Trieloff <cctrieloff@apache.org>2009-07-09 20:19:04 +0000
commitb41529bdbcf4de94161284b1dc97d1ef34d46401 (patch)
tree7eb1bcaaddd89768c49f0ea062826f13cc7259e9 /cpp/src/tests/QueueTest.cpp
parent5a48e3da672620aa5905babcd1d457e07c0afd80 (diff)
downloadqpid-python-b41529bdbcf4de94161284b1dc97d1ef34d46401.tar.gz
Clean up for next commit to clean broker interface
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@792664 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/QueueTest.cpp')
-rw-r--r--cpp/src/tests/QueueTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/tests/QueueTest.cpp b/cpp/src/tests/QueueTest.cpp
index abeb0fb80e..be4a87d2ab 100644
--- a/cpp/src/tests/QueueTest.cpp
+++ b/cpp/src/tests/QueueTest.cpp
@@ -88,7 +88,7 @@ QPID_AUTO_TEST_CASE(testAsyncMessage) {
//Test basic delivery:
intrusive_ptr<Message> msg1 = create_message("e", "A");
- msg1->enqueueAsync();//this is done on enqueue which is not called from process
+ msg1->enqueueAsync(queue, 0);//this is done on enqueue which is not called from process
queue->process(msg1);
sleep(2);
@@ -103,7 +103,7 @@ QPID_AUTO_TEST_CASE(testAsyncMessage) {
QPID_AUTO_TEST_CASE(testAsyncMessageCount){
Queue::shared_ptr queue(new Queue("my_test_queue", true));
intrusive_ptr<Message> msg1 = create_message("e", "A");
- msg1->enqueueAsync();//this is done on enqueue which is not called from process
+ msg1->enqueueAsync(queue, 0);//this is done on enqueue which is not called from process
queue->process(msg1);
sleep(2);