Author: gtully
Date: Wed Oct 13 14:25:56 2010
New Revision: 1022115

URL: http://svn.apache.org/viewvc?rev=1022115&view=rev
Log:
resolve hudson failure, close after broker stop

Modified:
    
activemq/trunk/activemq-fileserver/src/test/java/org/apache/activemq/util/HttpTestSupport.java

Modified: 
activemq/trunk/activemq-fileserver/src/test/java/org/apache/activemq/util/HttpTestSupport.java
URL: 
http://svn.apache.org/viewvc/activemq/trunk/activemq-fileserver/src/test/java/org/apache/activemq/util/HttpTestSupport.java?rev=1022115&r1=1022114&r2=1022115&view=diff
==============================================================================
--- 
activemq/trunk/activemq-fileserver/src/test/java/org/apache/activemq/util/HttpTestSupport.java
 (original)
+++ 
activemq/trunk/activemq-fileserver/src/test/java/org/apache/activemq/util/HttpTestSupport.java
 Wed Oct 13 14:25:56 2010
@@ -93,10 +93,10 @@ public abstract class HttpTestSupport ex
     protected void tearDown() throws Exception {
         server.stop();
         if (createBroker) {
-            broker.stop();
-            broker.waitUntilStopped();
             session.close();
             connection.close();
+            broker.stop();
+            broker.waitUntilStopped();
             IOHelper.deleteFile(homeDir);
         }
     }


Reply via email to