activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1484306 - /activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ2902Test.java
Date Sun, 19 May 2013 16:32:51 GMT
Author: chirino
Date: Sun May 19 16:32:51 2013
New Revision: 1484306

URL: http://svn.apache.org/r1484306
Log:
Fixes failing AMQ2902 test.

Modified:
    activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ2902Test.java

Modified: activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ2902Test.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ2902Test.java?rev=1484306&r1=1484305&r2=1484306&view=diff
==============================================================================
--- activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ2902Test.java
(original)
+++ activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ2902Test.java
Sun May 19 16:32:51 2013
@@ -45,8 +45,10 @@ public class AMQ2902Test extends TestCas
                 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;
         }



Mime
View raw message