From e68001b8822d4f40ccb9960bc1d0e3533e54fb5d Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 24 Jun 2010 17:19:24 +0000 Subject: 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 --- cpp/src/tests/cluster_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src') 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(), ""); -- cgit v1.2.1