mirror of https://github.com/apache/activemq.git
with failover the reported exception may be wrapped by the failover listener
This commit is contained in:
parent
7a7c70ad75
commit
9c4ef26d5c
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue