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
This commit is contained in:
Gary Tully 2009-03-06 13:20:50 +00:00
parent c7b48c4757
commit 6d9163af39
1 changed files with 5 additions and 0 deletions

View File

@ -276,6 +276,11 @@ public class ProducerFlowControlTest extends JmsTestSupport {
return service; return service;
} }
public void setUp() throws Exception {
setAutoFail(true);
super.setUp();
}
protected void tearDown() throws Exception { protected void tearDown() throws Exception {
if (connection != null) { if (connection != null) {
TcpTransport t = (TcpTransport)connection.getTransport().narrow(TcpTransport.class); TcpTransport t = (TcpTransport)connection.getTransport().narrow(TcpTransport.class);