activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject [2/2] activemq git commit: with failover the reported exception may be wrapped by the failover listener
Date Wed, 09 Dec 2015 12:38:06 GMT
with failover the reported exception may be wrapped by the failover listener


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/9c4ef26d
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/9c4ef26d
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/9c4ef26d

Branch: refs/heads/master
Commit: 9c4ef26d5ca27fb789e88980112598a31d178a4f
Parents: 7a7c70a
Author: gtully <gary.tully@gmail.com>
Authored: Wed Dec 9 11:26:58 2015 +0000
Committer: gtully <gary.tully@gmail.com>
Committed: Wed Dec 9 12:30:29 2015 +0000

----------------------------------------------------------------------
 .../org/apache/activemq/ActiveMQSslConnectionFactoryTest.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/9c4ef26d/activemq-client/src/test/java/org/apache/activemq/ActiveMQSslConnectionFactoryTest.java
----------------------------------------------------------------------
diff --git a/activemq-client/src/test/java/org/apache/activemq/ActiveMQSslConnectionFactoryTest.java
b/activemq-client/src/test/java/org/apache/activemq/ActiveMQSslConnectionFactoryTest.java
index cde7cb5..fb03532 100644
--- a/activemq-client/src/test/java/org/apache/activemq/ActiveMQSslConnectionFactoryTest.java
+++ b/activemq-client/src/test/java/org/apache/activemq/ActiveMQSslConnectionFactoryTest.java
@@ -63,17 +63,17 @@ public class ActiveMQSslConnectionFactoryTest {
         executeTest(SSL_TRANSPORT, TRUST_STORE_RESOURCE_PREFIX + TRUST_STORE_FILE_NAME +
".dummy");
     }
 
-    @Test(expected = ConnectException.class)
+    @Test(expected = IOException.class)
     public void validTrustStoreFileFailoverTest() throws Throwable {
         executeTest(FAILOVER_SSL_TRANSPORT, TRUST_STORE_DIRECTORY_NAME + TRUST_STORE_FILE_NAME);
     }
 
-    @Test(expected = ConnectException.class)
+    @Test(expected = IOException.class)
     public void validTrustStoreURLFailoverTest() throws Throwable {
         executeTest(FAILOVER_SSL_TRANSPORT, new File(TRUST_STORE_DIRECTORY_NAME + TRUST_STORE_FILE_NAME).toURI().toString());
     }
 
-    @Test(expected = ConnectException.class)
+    @Test(expected = IOException.class)
     public void validTrustStoreResourceFailoverTest() throws Throwable {
         executeTest(FAILOVER_SSL_TRANSPORT, TRUST_STORE_RESOURCE_PREFIX + TRUST_STORE_FILE_NAME);
     }


Mime
View raw message