prevent stack overflow exception so that we can see the real exception that causes the test to fail.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1506214 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2013-07-23 18:58:31 +00:00
parent acbe5499b5
commit a2c297dc19
1 changed files with 1 additions and 1 deletions

View File

@ -51,8 +51,8 @@ public class AMQ2902Test extends TestCase {
return;
}
LOG.error("got event: " + event + ", ex:" + event.getThrowableInformation().getThrowable(), event.getThrowableInformation().getThrowable());
gotExceptionInLog.set(Boolean.TRUE);
LOG.error("got event: " + event + ", ex:" + event.getThrowableInformation().getThrowable(), event.getThrowableInformation().getThrowable());
}
if( !"Loaded the Bouncy Castle security provider.".equals(event.getMessage()) ) {
if (event.getMDC("activemq.broker") == null) {