From 672a16f960f4049be9d93dacd485e61aec1b9d3e Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Fri, 02 Mar 2007 06:09:38 +0000
Subject: [PATCH] Update the JMX test cases to ensure that they expect a certificate nickname of "server-cert" rather than "adm-server-cert".

---
 opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxConnectTest.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 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 442271e..44d7df3 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
@@ -137,7 +137,7 @@
         {"cn=JMX Connection Handler,cn=Connection Handlers,cn=config",
               "objectclass", null},
         {"cn=JMX Connection Handler,cn=Connection Handlers,cn=config",
-              "ds-cfg-ssl-cert-nickname", "adm-server-cert"},
+              "ds-cfg-ssl-cert-nickname", "server-cert"},
       // not working at the moment see issue 655
       //  {"cn=JE Database,ds-cfg-backend-id=userRoot,cn=Backends,cn=config",
       //          "ds-cfg-database-cache-percent", 10},
@@ -226,7 +226,7 @@
         "objectClass: top",
         "objectClass: ds-cfg-connection-handler",
         "objectClass: ds-cfg-jmx-connection-handler",
-        "ds-cfg-ssl-cert-nickname: adm-server-cert",
+        "ds-cfg-ssl-cert-nickname: server-cert",
         "ds-cfg-connection-handler-class: org.opends.server.protocols.jmx.JmxConnectionHandler",
         "ds-cfg-connection-handler-enabled: true",
         "ds-cfg-use-ssl: false",
@@ -307,7 +307,7 @@
         "objectClass: top",
         "objectClass: ds-cfg-connection-handler",
         "objectClass: ds-cfg-jmx-connection-handler",
-        "ds-cfg-ssl-cert-nickname: adm-server-cert",
+        "ds-cfg-ssl-cert-nickname: server-cert",
         "ds-cfg-connection-handler-class: org.opends.server.protocols.jmx.JmxConnectionHandler",
         "ds-cfg-connection-handler-enabled: true",
         "ds-cfg-use-ssl: false",
@@ -331,7 +331,7 @@
         "objectClass: top",
         "objectClass: ds-cfg-connection-handler",
         "objectClass: ds-cfg-jmx-connection-handler",
-        "ds-cfg-ssl-cert-nickname: adm-server-cert",
+        "ds-cfg-ssl-cert-nickname: server-cert",
         "ds-cfg-connection-handler-class: org.opends.server.protocols.jmx.JmxConnectionHandler",
         "ds-cfg-connection-handler-enabled: true",
         "ds-cfg-use-ssl: false",
@@ -389,7 +389,7 @@
         "objectClass: top",
         "objectClass: ds-cfg-connection-handler",
         "objectClass: ds-cfg-jmx-connection-handler",
-        "ds-cfg-ssl-cert-nickname: adm-server-cert",
+        "ds-cfg-ssl-cert-nickname: server-cert",
         "ds-cfg-connection-handler-class: org.opends.server.protocols.jmx.JmxConnectionHandler",
         "ds-cfg-connection-handler-enabled: true",
         "ds-cfg-use-ssl: false",

--
Gitblit v1.10.0