From 3516e1005a58b7da939aa7587b4fc6fc56b66ea4 Mon Sep 17 00:00:00 2001 From: "Hiram R. Chirino" Date: Sat, 31 Dec 2005 16:30:26 +0000 Subject: [PATCH] better tearDown: allows setup and tear down to be call multiple times in a single testcase. git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360315 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/activemq/JmsMultipleClientsTestSupport.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/activemq-core/src/test/java/org/apache/activemq/JmsMultipleClientsTestSupport.java b/activemq-core/src/test/java/org/apache/activemq/JmsMultipleClientsTestSupport.java index 8d4a5ce260..2a86b138d4 100644 --- a/activemq-core/src/test/java/org/apache/activemq/JmsMultipleClientsTestSupport.java +++ b/activemq-core/src/test/java/org/apache/activemq/JmsMultipleClientsTestSupport.java @@ -217,6 +217,8 @@ public class JmsMultipleClientsTestSupport extends CombinationTestSupport { } } broker.stop(); + allMessagesList.flushMessages(); + consumers.clear(); super.tearDown(); }