activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r360315 - /incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsMultipleClientsTestSupport.java
Date Sat, 31 Dec 2005 16:30:37 GMT
Author: chirino
Date: Sat Dec 31 08:30:26 2005
New Revision: 360315

URL: http://svn.apache.org/viewcvs?rev=360315&view=rev
Log:
better tearDown: allows setup and tear down to be call multiple times in a single testcase.

Modified:
    incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsMultipleClientsTestSupport.java

Modified: incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsMultipleClientsTestSupport.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsMultipleClientsTestSupport.java?rev=360315&r1=360314&r2=360315&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsMultipleClientsTestSupport.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsMultipleClientsTestSupport.java
Sat Dec 31 08:30:26 2005
@@ -217,6 +217,8 @@
             }
         }
         broker.stop();
+        allMessagesList.flushMessages();
+        consumers.clear();
         super.tearDown();
     }
 



Mime
View raw message