diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2009-08-06 09:26:56 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2009-08-06 09:26:56 +0000 |
| commit | cf1d99773dbfb66c7d0b3c141530b01b69fa0576 (patch) | |
| tree | 393363ebe3ac8d82d4a778d85e18268375e930c5 /qpid/java/management | |
| parent | 8dd5f83bc7dd0e099627f20c62afa050af0e6335 (diff) | |
| download | qpid-python-cf1d99773dbfb66c7d0b3c141530b01b69fa0576.tar.gz | |
QPID-2028 : Ensure all Non QpidTestCase System tests correctly clean up by removing the ApplicationRegistry they create.
The biggest offenders are the broker tests which are not pure unit tests.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801561 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/management')
| -rw-r--r-- | qpid/java/management/eclipse-plugin/build.xml | 1 | ||||
| -rw-r--r-- | qpid/java/management/eclipse-plugin/src/test/java/org/apache/qpid/management/ui/ManagementConsoleTest.java | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/qpid/java/management/eclipse-plugin/build.xml b/qpid/java/management/eclipse-plugin/build.xml index 7168d69c72..9952ff66e3 100644 --- a/qpid/java/management/eclipse-plugin/build.xml +++ b/qpid/java/management/eclipse-plugin/build.xml @@ -21,6 +21,7 @@ <project name="Eclipse Plugin" default="build"> <property name="module.depends" value="broker common management/common"/> + <property name="module.test.depends" value="broker/test" /> <import file="../../module.xml"/> 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 11ab6af064..5469bfad5f 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 @@ -58,7 +58,8 @@ public class ManagementConsoleTest extends TestCase @Override protected void tearDown() throws Exception { - ApplicationRegistry.removeAll(); + // Correctly Close the AR that we created above + ApplicationRegistry.remove(); } /** |
