activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1158822 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ReliableReconnectTest.java
Date Wed, 17 Aug 2011 16:47:23 GMT
Author: gtully
Date: Wed Aug 17 16:47:22 2011
New Revision: 1158822

URL: http://svn.apache.org/viewvc?rev=1158822&view=rev
Log:
setAutoFail so we get a stack trace on a hang in nightly

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ReliableReconnectTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ReliableReconnectTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ReliableReconnectTest.java?rev=1158822&r1=1158821&r2=1158822&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ReliableReconnectTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/ReliableReconnectTest.java
Wed Aug 17 16:47:22 2011
@@ -36,13 +36,9 @@ import org.apache.activemq.broker.Broker
 import org.apache.activemq.broker.BrokerService;
 import org.apache.activemq.store.PersistenceAdapter;
 import org.apache.activemq.store.amq.AMQPersistenceAdapter;
-import org.apache.activemq.test.TestSupport;
 import org.apache.activemq.util.IdGenerator;
 
-/**
- * 
- */
-public class ReliableReconnectTest extends TestSupport {
+public class ReliableReconnectTest extends org.apache.activemq.TestSupport {
     
     protected static final int MESSAGE_COUNT = 100;
     protected static final String DEFAULT_BROKER_URL = ActiveMQConnectionFactory.DEFAULT_BROKER_BIND_URL;
@@ -60,11 +56,8 @@ public class ReliableReconnectTest exten
     public ReliableReconnectTest() {
     }
 
-    public ReliableReconnectTest(String n) {
-        super(n);
-    }
-
     protected void setUp() throws Exception {
+        this.setAutoFail(true);
         consumerClientId = idGen.generateId();
         super.setUp();
         topic = true;



Mime
View raw message