Check for valid session, since no exception thrown by getSession()
@@ -88,6 +88,7 @@ public Object call()
SSLSession session = cSock.getSession();
+ assertNotNull(session.getCipherSuite());
assertEquals("CN=Test CA Certificate", session.getLocalPrincipal().getName());
assertEquals("CN=Test CA Certificate", session.getPeerPrincipal().getName());
@@ -158,6 +159,7 @@ public Object call()
SSLSession session = sslSock.getSession();
+ assertNotNull(session.getCipherSuite());
assertEquals("CN=Test CA Certificate", session.getLocalPrincipal().getName());
assertEquals("CN=Test CA Certificate", session.getPeerPrincipal().getName());
