From b41529bdbcf4de94161284b1dc97d1ef34d46401 Mon Sep 17 00:00:00 2001 From: "Carl C. Trieloff" Date: Thu, 9 Jul 2009 20:19:04 +0000 Subject: 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 --- cpp/src/tests/QueueTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/tests/QueueTest.cpp') 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 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 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); -- cgit v1.2.1