NO-JIRA Improving logging on CoreClientOverOneWaySSLKerb5Test

in case of a failure, it should throw the complete exception instead of just showing Assert.fail
This commit is contained in:
Clebert Suconic 2020-04-08 22:33:47 -04:00
parent a084e5b37f
commit 4d7c4ea51c
1 changed files with 0 additions and 3 deletions

View File

@ -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();