setAutoFail so we get a stack trace on a hang in nightly

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1158822 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2011-08-17 16:47:22 +00:00
parent 477a78cdba
commit a1b8df5605
1 changed files with 2 additions and 9 deletions

View File

@ -36,13 +36,9 @@ import org.apache.activemq.broker.BrokerFactory;
import org.apache.activemq.broker.BrokerService; import org.apache.activemq.broker.BrokerService;
import org.apache.activemq.store.PersistenceAdapter; import org.apache.activemq.store.PersistenceAdapter;
import org.apache.activemq.store.amq.AMQPersistenceAdapter; import org.apache.activemq.store.amq.AMQPersistenceAdapter;
import org.apache.activemq.test.TestSupport;
import org.apache.activemq.util.IdGenerator; import org.apache.activemq.util.IdGenerator;
/** public class ReliableReconnectTest extends org.apache.activemq.TestSupport {
*
*/
public class ReliableReconnectTest extends TestSupport {
protected static final int MESSAGE_COUNT = 100; protected static final int MESSAGE_COUNT = 100;
protected static final String DEFAULT_BROKER_URL = ActiveMQConnectionFactory.DEFAULT_BROKER_BIND_URL; protected static final String DEFAULT_BROKER_URL = ActiveMQConnectionFactory.DEFAULT_BROKER_BIND_URL;
@ -60,11 +56,8 @@ public class ReliableReconnectTest extends TestSupport {
public ReliableReconnectTest() { public ReliableReconnectTest() {
} }
public ReliableReconnectTest(String n) {
super(n);
}
protected void setUp() throws Exception { protected void setUp() throws Exception {
this.setAutoFail(true);
consumerClientId = idGen.generateId(); consumerClientId = idGen.generateId();
super.setUp(); super.setUp();
topic = true; topic = true;