activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1506214 - /activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ2902Test.java
Date Tue, 23 Jul 2013 18:58:31 GMT
Author: tabish
Date: Tue Jul 23 18:58:31 2013
New Revision: 1506214

URL: http://svn.apache.org/r1506214
Log:
prevent stack overflow exception so that we can see the real exception that causes the test
to fail. 

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=1506214&r1=1506213&r2=1506214&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
Tue Jul 23 18:58:31 2013
@@ -51,8 +51,8 @@ public class AMQ2902Test extends TestCas
                     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) {



Mime
View raw message