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:
parent
a084e5b37f
commit
4d7c4ea51c
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue