diff options
| author | Alan Conway <aconway@apache.org> | 2009-10-08 18:28:42 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2009-10-08 18:28:42 +0000 |
| commit | 377a6397c58fa3dc16c9f8f0dbdd928abadba500 (patch) | |
| tree | 1380918f49c5db5814e0ffec53bb47c70faae9ad /qpid/cpp/src/tests | |
| parent | feaa899a7d655b9360cd68c27cb5ac2c8a96a26c (diff) | |
| download | qpid-python-377a6397c58fa3dc16c9f8f0dbdd928abadba500.tar.gz | |
Cluster shuts down broker via SignalHandler to fix memory errors on exit.
The SignalHandler holds a global reference to the broker which needs
to be reset otherwise there are problems when the broker by a global
destructor.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@823258 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests')
| -rw-r--r-- | qpid/cpp/src/tests/PartialFailure.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/cpp/src/tests/PartialFailure.cpp b/qpid/cpp/src/tests/PartialFailure.cpp index 08c326cd02..5de8ecb189 100644 --- a/qpid/cpp/src/tests/PartialFailure.cpp +++ b/qpid/cpp/src/tests/PartialFailure.cpp @@ -93,7 +93,7 @@ QPID_AUTO_TEST_CASE(testCoincidentErrors) { c0.session.queueDeclare("q", durable=true); { - // ScopedSuppressLogging allQuiet; + ScopedSuppressLogging allQuiet; async(c0.session).messageTransfer(content=pMessage("TEST_STORE_DO: s0[exception]", "q")); async(c1.session).messageTransfer(content=pMessage("TEST_STORE_DO: s1[exception]", "q")); @@ -118,7 +118,7 @@ QPID_AUTO_TEST_CASE(testNormalErrors) { Client c2(cluster[2], "c2"); { - // ScopedSuppressLogging allQuiet; + ScopedSuppressLogging allQuiet; queueAndSub(c0); c0.session.messageTransfer(content=Message("x", "c0")); BOOST_CHECK_EQUAL(c0.lq.get(TIMEOUT).getData(), "x"); @@ -147,7 +147,7 @@ QPID_AUTO_TEST_CASE(testErrorAfterJoin) { ClusterFixture cluster(1, updateArgs, -1); Client c0(cluster[0]); { - // ScopedSuppressLogging allQuiet; + ScopedSuppressLogging allQuiet; c0.session.queueDeclare("q", durable=true); c0.session.messageTransfer(content=pMessage("a", "q")); |
