activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1159294 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/NetworkRestartTest.java
Date Thu, 18 Aug 2011 16:13:34 GMT
Author: gtully
Date: Thu Aug 18 16:13:34 2011
New Revision: 1159294

URL: http://svn.apache.org/viewvc?rev=1159294&view=rev
Log:
add autofail to yet another test that seems to stop the nightly build

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

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/NetworkRestartTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/NetworkRestartTest.java?rev=1159294&r1=1159293&r2=1159294&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/NetworkRestartTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/NetworkRestartTest.java
Thu Aug 18 16:13:34 2011
@@ -16,8 +16,8 @@
  */
 package org.apache.activemq.network;
 
-import junit.framework.TestCase;
 import org.apache.activemq.ActiveMQConnectionFactory;
+import org.apache.activemq.TestSupport;
 import org.apache.activemq.broker.BrokerService;
 import org.apache.activemq.command.ActiveMQQueue;
 import org.apache.activemq.xbean.BrokerFactoryBean;
@@ -28,7 +28,7 @@ import org.springframework.core.io.Resou
 
 import javax.jms.*;
 
-public class NetworkRestartTest extends TestCase {
+public class NetworkRestartTest extends TestSupport {
 
     private static final Logger LOG = LoggerFactory.getLogger(NetworkRestartTest.class);
 
@@ -111,6 +111,7 @@ public class NetworkRestartTest extends 
 
 
     protected void setUp() throws Exception {
+        setAutoFail(true);
         super.setUp();
         doSetUp();
     }



Mime
View raw message