summaryrefslogtreecommitdiff
path: root/cpp/src/tests/BrokerFixture.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/tests/BrokerFixture.h')
-rw-r--r--cpp/src/tests/BrokerFixture.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/tests/BrokerFixture.h b/cpp/src/tests/BrokerFixture.h
index 76cf2e8761..1a397c76c8 100644
--- a/cpp/src/tests/BrokerFixture.h
+++ b/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