summaryrefslogtreecommitdiff
path: root/cpp/src/tests/exception_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/tests/exception_test.cpp')
-rw-r--r--cpp/src/tests/exception_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/exception_test.cpp b/cpp/src/tests/exception_test.cpp
index 7c68973d4d..f75269c959 100644
--- a/cpp/src/tests/exception_test.cpp
+++ b/cpp/src/tests/exception_test.cpp
@@ -91,7 +91,7 @@ QPID_AUTO_TEST_CASE(DisconnectedListen) {
Thread t(fix.subs);
fix.connection.proxy.close();
t.join();
- BOOST_CHECK_THROW(fix.session.close(), InternalErrorException);
+ BOOST_CHECK_THROW(fix.session.close(), ConnectionException);
}
QPID_AUTO_TEST_CASE(NoSuchQueueTest) {