From 3d2b80e6543fb609afefc4c24036253b8e38db34 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Sun, 24 Jun 2007 01:01:56 +0000
Subject: [PATCH] Disable the JmxConnectTest.simpleSet test case because it relied on the fact that the cn=config entry was not handled by the admin framework, and no longer passes now that it has been updated to use the admin framework.
---
opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxConnectTest.java | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxConnectTest.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxConnectTest.java
index 53e829d..001c295 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxConnectTest.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxConnectTest.java
@@ -159,7 +159,9 @@
/**
* Test setting some config attribute through jmx.
*/
- @Test(enabled = true)
+ // NOTE: This test is disabled because JMX interaction is not allowed with
+ // the admin framework, and the cn=config entry is now governed by it.
+ @Test(enabled = false)
public void simpleSet() throws Exception {
OpendsJmxConnector connector = connect("cn=directory manager",
"password", TestCaseUtils.getServerJmxPort());
--
Gitblit v1.10.0