From 6d9163af397eaef25ea094213d22b3957c7ef261 Mon Sep 17 00:00:00 2001 From: Gary Tully Date: Fri, 6 Mar 2009 13:20:50 +0000 Subject: [PATCH] seems to hang on slow HP box, ensure it does not stop rest of the tests using autoFailSupport git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@750885 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/activemq/ProducerFlowControlTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/activemq-core/src/test/java/org/apache/activemq/ProducerFlowControlTest.java b/activemq-core/src/test/java/org/apache/activemq/ProducerFlowControlTest.java index 6fec2e01d1..5abd12d86f 100644 --- a/activemq-core/src/test/java/org/apache/activemq/ProducerFlowControlTest.java +++ b/activemq-core/src/test/java/org/apache/activemq/ProducerFlowControlTest.java @@ -276,6 +276,11 @@ public class ProducerFlowControlTest extends JmsTestSupport { return service; } + public void setUp() throws Exception { + setAutoFail(true); + super.setUp(); + } + protected void tearDown() throws Exception { if (connection != null) { TcpTransport t = (TcpTransport)connection.getTransport().narrow(TcpTransport.class);