summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-06-24 17:19:24 +0000
committerAlan Conway <aconway@apache.org>2010-06-24 17:19:24 +0000
commite68001b8822d4f40ccb9960bc1d0e3533e54fb5d (patch)
tree81a95e153d7527eb8f1a7e0fcecbcd49f2fb94ee /cpp/src
parent8faa1d55ca1507ae4913e5476f21fbcd83e70bfe (diff)
downloadqpid-python-e68001b8822d4f40ccb9960bc1d0e3533e54fb5d.tar.gz
Fix test bug causing occasional failure of cluster_test.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957639 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/tests/cluster_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/cluster_test.cpp b/cpp/src/tests/cluster_test.cpp
index 0565ecc34c..903a20ec28 100644
--- a/cpp/src/tests/cluster_test.cpp
+++ b/cpp/src/tests/cluster_test.cpp
@@ -214,7 +214,7 @@ QPID_AUTO_TEST_CASE(testBadClientData) {
ci->handle(poison);
{
ScopedSuppressLogging sl;
- BOOST_CHECK_THROW(c0.session.queueQuery("q0"), TransportFailure);
+ BOOST_CHECK_THROW(c0.session.queueQuery("q0"), Exception);
}
Client c00(cluster[0]);
BOOST_CHECK_EQUAL(c00.session.queueQuery("q00").getQueue(), "");