activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1159142 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/SimpleNetworkTest.java
Date Thu, 18 Aug 2011 10:25:18 GMT
Author: gtully
Date: Thu Aug 18 10:25:18 2011
New Revision: 1159142

URL: http://svn.apache.org/viewvc?rev=1159142&view=rev
Log:
don't let a hang stop the nightly build

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/SimpleNetworkTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/SimpleNetworkTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/SimpleNetworkTest.java?rev=1159142&r1=1159141&r2=1159142&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/SimpleNetworkTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/SimpleNetworkTest.java
Thu Aug 18 10:25:18 2011
@@ -29,7 +29,6 @@ import javax.jms.Session;
 import javax.jms.TextMessage;
 import javax.jms.TopicRequestor;
 import javax.jms.TopicSession;
-import junit.framework.TestCase;
 import org.apache.activemq.ActiveMQConnectionFactory;
 import org.apache.activemq.broker.BrokerService;
 import org.apache.activemq.command.ActiveMQTopic;
@@ -40,7 +39,7 @@ import org.springframework.context.suppo
 import org.springframework.core.io.ClassPathResource;
 import org.springframework.core.io.Resource;
 
-public class SimpleNetworkTest extends TestCase {
+public class SimpleNetworkTest extends org.apache.activemq.TestSupport {
 
     protected static final int MESSAGE_COUNT = 10;
     private static final Logger LOG = LoggerFactory.getLogger(SimpleNetworkTest.class);
@@ -173,6 +172,7 @@ public class SimpleNetworkTest extends T
     
     @Override
     protected void setUp() throws Exception {
+        setAutoFail(true);
         super.setUp();
         doSetUp();
     }



Mime
View raw message