From 98e99b9a91eb904df6f5a3c5180195e03dab7b4a 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@957639 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/cluster_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/cpp/src') diff --git a/qpid/cpp/src/tests/cluster_test.cpp b/qpid/cpp/src/tests/cluster_test.cpp index 0565ecc34c..903a20ec28 100644 --- a/qpid/cpp/src/tests/cluster_test.cpp +++ b/qpid/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