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 | 2618b2530a2e08a92ccd579d7b788d31adc7f4cb (patch) | |
| tree | 83a512dc2ba5ec35886fadffe20323f240269dd4 /qpid/cpp/src/tests/cluster_test.cpp | |
| parent | 11d6ca4c4c1b561a07fd7d271f38c3fa6f6f9b5b (diff) | |
| download | qpid-python-2618b2530a2e08a92ccd579d7b788d31adc7f4cb.tar.gz | |
Removed static Cpg::handlers, fixed ForkedBroker shutdown.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@674855 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/cluster_test.cpp')
| -rw-r--r-- | qpid/cpp/src/tests/cluster_test.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/cluster_test.cpp b/qpid/cpp/src/tests/cluster_test.cpp index 2fa7cd325d..82d18aceff 100644 --- a/qpid/cpp/src/tests/cluster_test.cpp +++ b/qpid/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()); |
