activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1363349 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2801Test.java
Date Thu, 19 Jul 2012 14:24:13 GMT
Author: gtully
Date: Thu Jul 19 14:24:12 2012
New Revision: 1363349

URL: http://svn.apache.org/viewvc?rev=1363349&view=rev
Log:
fix teardown order so close can do its thing

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

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2801Test.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2801Test.java?rev=1363349&r1=1363348&r2=1363349&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2801Test.java (original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2801Test.java Thu
Jul 19 14:24:12 2012
@@ -105,12 +105,11 @@ public class AMQ2801Test
 
     @After
     public void tearDown() throws Exception {
+        conn1.close();
+        conn2.close();
         if (broker != null) {
             broker.stop();
         }
-
-        conn1.close();
-        conn2.close();
     }
 
     private void produceMessages() throws Exception {



Mime
View raw message