Fixes failing AMQ2902 test.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484306 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2013-05-19 16:32:51 +00:00
parent 4aac5a6bf3
commit 5e13c20707
1 changed files with 4 additions and 2 deletions

View File

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