summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/ClientSessionTest.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-05-20 13:44:34 +0000
committerAlan Conway <aconway@apache.org>2008-05-20 13:44:34 +0000
commit5bb0604473b2367218c297927d578d19951ed775 (patch)
treeaa547f81ad68be2293ce2deab826c026e292f59a /qpid/cpp/src/tests/ClientSessionTest.cpp
parentfab61022ef0d7cc2afcca699e35c8b95c9141b38 (diff)
downloadqpid-python-5bb0604473b2367218c297927d578d19951ed775.tar.gz
Support for AMQP 0-10 sessions in C++ broker.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@658246 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/ClientSessionTest.cpp')
-rw-r--r--qpid/cpp/src/tests/ClientSessionTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/ClientSessionTest.cpp b/qpid/cpp/src/tests/ClientSessionTest.cpp
index dfda9ecae1..aeff35dbf0 100644
--- a/qpid/cpp/src/tests/ClientSessionTest.cpp
+++ b/qpid/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);
}