From d30d857423de7afd4c96919232af420739cede6f Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 28 Sep 2007 18:23:35 +0000
Subject: [PATCH] Attempt to fix current JDK1.5 failures in ValidateCfgDefn tests: allow test configuration definitions to not register themselves with the TopCfgDefn. Previously, test definitions would register themselves with the TopCfgDefn and then deregister themselves during their tear down phase. However, this didn't seem to be working as expected on JDK1.5 for some reason, and was causing the ValidateCfgDefn tests to fail.
---
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestChildCfgDefn.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestChildCfgDefn.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestChildCfgDefn.java
index a073a5b..4f8917c 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestChildCfgDefn.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestChildCfgDefn.java
@@ -202,7 +202,7 @@
* Private constructor.
*/
private TestChildCfgDefn() {
- super("test-child", TopCfgDefn.getInstance());
+ super("test-child", null);
}
--
Gitblit v1.10.0