You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2012/07/19 16:24:13 UTC
svn commit: r1363349 -
/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2801Test.java
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 {