From 0333573627c831142aa251bfb1cabdb1e2bf438e Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 20 May 2008 13:44:34 +0000 Subject: Support for AMQP 0-10 sessions in C++ broker. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@658246 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/ClientSessionTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/tests/ClientSessionTest.cpp') diff --git a/cpp/src/tests/ClientSessionTest.cpp b/cpp/src/tests/ClientSessionTest.cpp index dfda9ecae1..aeff35dbf0 100644 --- a/cpp/src/tests/ClientSessionTest.cpp +++ b/cpp/src/tests/ClientSessionTest.cpp @@ -150,7 +150,7 @@ QPID_AUTO_TEST_CASE(testDispatcherThread) ClientSessionFixture fix; fix.session =fix.connection.newSession(ASYNC); fix.declareSubscribe(); - size_t count = 1000; + size_t count = 10; DummyListener listener(fix.session, "my-dest", count); sys::Thread t(listener); for (size_t i = 0; i < count; ++i) { @@ -205,7 +205,7 @@ QPID_AUTO_TEST_CASE(testSendToSelf) { sys::Thread runner(fix.subs);//start dispatcher thread string data("msg"); Message msg(data, "myq"); - const uint count=1000; + const uint count=10; for (uint i = 0; i < count; ++i) { fix.session.messageTransfer(content=msg); } -- cgit v1.2.1