Repository: qpid-jms
Updated Branches:
  refs/heads/master a8ccb1ea1 -> d089d865e


QPIDJMS-253: add missing fail clause test test and fix indentation


Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/c89a24ab
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/c89a24ab
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/c89a24ab

Branch: refs/heads/master
Commit: c89a24ab07e156599b53e1cdc6d9f7ce0353dd07
Parents: a8ccb1e
Author: Robert Gemmell <[email protected]>
Authored: Mon Jan 16 15:23:22 2017 +0000
Committer: Robert Gemmell <[email protected]>
Committed: Mon Jan 16 15:23:22 2017 +0000

----------------------------------------------------------------------
 .../org/apache/qpid/jms/integration/SslIntegrationTest.java     | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/c89a24ab/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/SslIntegrationTest.java
----------------------------------------------------------------------
diff --git 
a/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/SslIntegrationTest.java
 
b/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/SslIntegrationTest.java
index 127efe3..288abfa 100644
--- 
a/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/SslIntegrationTest.java
+++ 
b/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/SslIntegrationTest.java
@@ -377,9 +377,10 @@ public class SslIntegrationTest extends QpidJmsTestCase {
         // Set properties with 'wrong ca' trust store and expect connection to 
fail
         setSslSystemPropertiesForCurrentTest(CLIENT_JKS_KEYSTORE, PASSWORD, 
OTHER_CA_TRUSTSTORE, PASSWORD);
         try {
-          doConfigureStoresWithSslSystemPropertiesTestImpl(null);
+            doConfigureStoresWithSslSystemPropertiesTestImpl(null);
+            fail("Connection should have failed due to wrong CA");
         } catch (JMSException jmse) {
-          // Expected
+            // Expected
         }
 
         // Set properties and expect connection as Client2


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to