diff options
author | Alan Conway <aconway@apache.org> | 2008-07-08 15:22:37 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-07-08 15:22:37 +0000 |
commit | 43664d69dc90c128ad3f73327ac8331b02d7a38c (patch) | |
tree | e92629756eb899c3ad6cdac129a84e1966b4db40 /cpp/src/tests/cluster_test.cpp | |
parent | 50d4782e2f3676723a2df5bf6a420d45fb55467d (diff) | |
download | qpid-python-43664d69dc90c128ad3f73327ac8331b02d7a38c.tar.gz |
Removed static Cpg::handlers, fixed ForkedBroker shutdown.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674855 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/cluster_test.cpp')
-rw-r--r-- | cpp/src/tests/cluster_test.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cpp/src/tests/cluster_test.cpp b/cpp/src/tests/cluster_test.cpp index 2fa7cd325d..82d18aceff 100644 --- a/cpp/src/tests/cluster_test.cpp +++ b/cpp/src/tests/cluster_test.cpp @@ -147,6 +147,16 @@ QPID_AUTO_TEST_CASE(CpgBasic) { } +QPID_AUTO_TEST_CASE(testForkedBroker) { + // Verify the ForkedBroker works as expected. + Broker::Options opts; + opts.auth="no"; + opts.noDataDir=true; + ForkedBroker broker(opts); + Client c(broker.getPort()); + BOOST_CHECK_EQUAL("direct", c.session.exchangeQuery("amq.direct").getType()); +} + QPID_AUTO_TEST_CASE(testWiringReplication) { ClusterFixture cluster(2); // FIXME aconway 2008-07-02: 3 brokers Client c0(cluster[0].getPort()); |