This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/master by this push:
     new 4d7c4ea  NO-JIRA Improving logging on CoreClientOverOneWaySSLKerb5Test
4d7c4ea is described below

commit 4d7c4ea51c7028d0426a0268a3c6dc8224c28cc4
Author: Clebert Suconic <[email protected]>
AuthorDate: Wed Apr 8 22:33:47 2020 -0400

    NO-JIRA Improving logging on CoreClientOverOneWaySSLKerb5Test
    
    in case of a failure, it should throw the complete exception instead of 
just showing Assert.fail
---
 .../tests/integration/ssl/CoreClientOverOneWaySSLKerb5Test.java        | 3 ---
 1 file changed, 3 deletions(-)

diff --git 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/ssl/CoreClientOverOneWaySSLKerb5Test.java
 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/ssl/CoreClientOverOneWaySSLKerb5Test.java
index a9f5c88..029b009 100644
--- 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/ssl/CoreClientOverOneWaySSLKerb5Test.java
+++ 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/ssl/CoreClientOverOneWaySSLKerb5Test.java
@@ -112,9 +112,6 @@ public class CoreClientOverOneWaySSLKerb5Test extends 
ActiveMQTestBase {
          Assert.assertNotNull("got validated user", m.getValidatedUserID());
          Assert.assertTrue("krb id in validated user", 
m.getValidatedUserID().contains(CLIENT_PRINCIPAL));
 
-      } catch (Exception e) {
-         e.printStackTrace();
-         Assert.fail();
       } finally {
          if (sf != null) {
             sf.close();

Reply via email to