summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/BrokerFixture.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-02-05 20:44:14 +0000
committerAlan Conway <aconway@apache.org>2008-02-05 20:44:14 +0000
commit363794a568ee719e226c5c116d386277e784d3c5 (patch)
tree06337d0a15d2ae17c106a82d600dd024e4aadab8 /qpid/cpp/src/tests/BrokerFixture.h
parentcd5a66bba5e6f7a066e26f30652c2f6a207a29c7 (diff)
downloadqpid-python-363794a568ee719e226c5c116d386277e784d3c5.tar.gz
Added testSendToSelf for https://bugzilla.redhat.com/show_bug.cgi?id=410551
M src/tests/ClientSessionTest.cpp Disabled management for BrokerFixture - management singleton assumes only one broker per process, causes shutdown races with fixtures. M src/tests/BrokerFixture.h Made Timer::stop() idempotent M src/qpid/broker/Timer.cpp M src/qpid/broker/Timer.h Added STL-style size() and empty() M src/qpid/sys/BlockingQueue.h M src/qpid/client/LocalQueue.cpp M src/qpid/client/LocalQueue.h git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@618770 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/BrokerFixture.h')
-rw-r--r--qpid/cpp/src/tests/BrokerFixture.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/BrokerFixture.h b/qpid/cpp/src/tests/BrokerFixture.h
index 76cf2e8761..1a397c76c8 100644
--- a/qpid/cpp/src/tests/BrokerFixture.h
+++ b/qpid/cpp/src/tests/BrokerFixture.h
@@ -43,6 +43,8 @@ struct BrokerFixture {
BrokerFixture() {
Broker::Options opts;
opts.port=0;
+ // Management doesn't play well with multiple in-process brokers.
+ opts.enableMgmt=false;
opts.workerThreads=1;
broker = Broker::create(opts);
// TODO aconway 2007-12-05: At one point BrokerFixture