From f23303ae66b302b26c63970455c71223a5a23eee Mon Sep 17 00:00:00 2001 From: Gary Tully Date: Thu, 24 Mar 2011 11:22:49 +0000 Subject: [PATCH] add auto fail to ensure it won't block a hudson build again and we get a thread dump git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1084900 13f79535-47bb-0310-9956-ffa450edef68 --- .../activemq/broker/ft/QueueMasterSlaveSingleUrlTest.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/activemq-core/src/test/java/org/apache/activemq/broker/ft/QueueMasterSlaveSingleUrlTest.java b/activemq-core/src/test/java/org/apache/activemq/broker/ft/QueueMasterSlaveSingleUrlTest.java index 423ecddce3..63bd1e53be 100644 --- a/activemq-core/src/test/java/org/apache/activemq/broker/ft/QueueMasterSlaveSingleUrlTest.java +++ b/activemq-core/src/test/java/org/apache/activemq/broker/ft/QueueMasterSlaveSingleUrlTest.java @@ -30,6 +30,12 @@ public class QueueMasterSlaveSingleUrlTest extends QueueMasterSlaveTest { private final String brokerUrl = "tcp://localhost:62001"; private final String singleUriString = "failover://(" + brokerUrl +")?randomize=false"; + @Override + protected void setUp() throws Exception { + setAutoFail(true); + super.setUp(); + } + protected ActiveMQConnectionFactory createConnectionFactory() throws Exception { return new ActiveMQConnectionFactory(singleUriString); }