From 44da73542614f9a853ff1e57efc8be9e2558761d Mon Sep 17 00:00:00 2001 From: Martin Ritchie Date: Mon, 18 Aug 2008 10:23:49 +0000 Subject: QPID-1226 : Last few changes to correctly shutdown all ApplicationRegistries on each test run git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@686722 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/qpid/management/ui/ManagementConsoleTest.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'qpid/java/management/eclipse-plugin/src') diff --git a/qpid/java/management/eclipse-plugin/src/test/java/org/apache/qpid/management/ui/ManagementConsoleTest.java b/qpid/java/management/eclipse-plugin/src/test/java/org/apache/qpid/management/ui/ManagementConsoleTest.java index fb616e2b59..11ab6af064 100644 --- a/qpid/java/management/eclipse-plugin/src/test/java/org/apache/qpid/management/ui/ManagementConsoleTest.java +++ b/qpid/java/management/eclipse-plugin/src/test/java/org/apache/qpid/management/ui/ManagementConsoleTest.java @@ -55,6 +55,12 @@ public class ManagementConsoleTest extends TestCase _virtualHost = applicationRegistry.getVirtualHostRegistry().getVirtualHost("test"); } + @Override + protected void tearDown() throws Exception + { + ApplicationRegistry.removeAll(); + } + /** * Test for AMQQueueMBean attribute and operation names, which are used in the management console * @throws Exception -- cgit v1.2.1