From beebd5fd192901cac31c7a58992bbb40f1ad2b9f 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/qpid@686722 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/qpid/management/ui/ManagementConsoleTest.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'java/management/eclipse-plugin/src') diff --git a/java/management/eclipse-plugin/src/test/java/org/apache/qpid/management/ui/ManagementConsoleTest.java b/java/management/eclipse-plugin/src/test/java/org/apache/qpid/management/ui/ManagementConsoleTest.java index fb616e2b59..11ab6af064 100644 --- a/java/management/eclipse-plugin/src/test/java/org/apache/qpid/management/ui/ManagementConsoleTest.java +++ b/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