activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r384170 - /incubator/activemq/trunk/activemq-optional/src/test/java/org/apache/activemq/transport/http/HttpTransportBrokerTest.java
Date Wed, 08 Mar 2006 10:01:50 GMT
Author: aco
Date: Wed Mar  8 02:01:48 2006
New Revision: 384170

URL: http://svn.apache.org/viewcvs?rev=384170&view=rev
Log:
Added sleep after tearDown to give the jetty server enough time to shutdown before starting
the next run.

Modified:
    incubator/activemq/trunk/activemq-optional/src/test/java/org/apache/activemq/transport/http/HttpTransportBrokerTest.java

Modified: incubator/activemq/trunk/activemq-optional/src/test/java/org/apache/activemq/transport/http/HttpTransportBrokerTest.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-optional/src/test/java/org/apache/activemq/transport/http/HttpTransportBrokerTest.java?rev=384170&r1=384169&r2=384170&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-optional/src/test/java/org/apache/activemq/transport/http/HttpTransportBrokerTest.java
(original)
+++ incubator/activemq/trunk/activemq-optional/src/test/java/org/apache/activemq/transport/http/HttpTransportBrokerTest.java
Wed Mar  8 02:01:48 2006
@@ -32,6 +32,12 @@
         super.setUp();
     }
 
+    protected void tearDown() throws Exception {
+        super.tearDown();
+        // Give the jetty server enough time to shutdown before starting another one
+        Thread.sleep(300);
+    }
+
     public static Test suite() {
         return suite(HttpTransportBrokerTest.class);
     }



Mime
View raw message