activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r903344 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2102Test.java
Date Tue, 26 Jan 2010 18:00:41 GMT
Author: gtully
Date: Tue Jan 26 18:00:40 2010
New Revision: 903344

URL: http://svn.apache.org/viewvc?rev=903344&view=rev
Log:
dsiable shutdown hook as it causes autofail exit to hang which defeats the purpos - want a
stack trace if it hangs again

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2102Test.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2102Test.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2102Test.java?rev=903344&r1=903343&r2=903344&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2102Test.java (original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2102Test.java Tue
Jan 26 18:00:40 2010
@@ -444,9 +444,10 @@
     String masterUrl;
 
     public void setUp() throws Exception {
-        setMaxTestTime(6 * 60 * 1000);
+        setMaxTestTime(12 * 60 * 1000);
         setAutoFail(true);
         super.setUp();
+        master.setUseShutdownHook(false);
         master.setBrokerName("Master");
         master.addConnector("tcp://localhost:0");
         master.deleteAllMessages();
@@ -467,6 +468,7 @@
         masterUrl = master.getTransportConnectors().get(0).getConnectUri().toString(); 
         
         debug("masterUrl: " + masterUrl);
+        slave.setUseShutdownHook(false);
         slave.setBrokerName("Slave");
         slave.deleteAllMessages();
         slave.addConnector("tcp://localhost:0");



Mime
View raw message