From d57e8fd5ca53257eab611c2a592de8b57d086158 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Wed, 27 Jul 2011 16:31:30 +0000
Subject: [PATCH] Fix OPENDJ-245: Improve APIs for adding additional access log items to operations
---
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/IsolationTest.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/IsolationTest.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/IsolationTest.java
index d4b10a4..a133491 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/IsolationTest.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/IsolationTest.java
@@ -23,6 +23,7 @@
*
*
* Copyright 2008-2009 Sun Microsystems, Inc.
+ * Portions Copyright 2011 ForgeRock AS
*/
package org.opends.server.replication.plugin;
@@ -35,8 +36,6 @@
import org.opends.server.TestCaseUtils;
import org.opends.server.admin.std.meta.ReplicationDomainCfgDefn.IsolationPolicy;
-import org.opends.server.api.SynchronizationProvider;
-import org.opends.server.core.DirectoryServer;
import org.opends.server.core.ModifyOperation;
import org.opends.server.protocols.internal.InternalClientConnection;
import org.opends.server.replication.ReplicationTestCase;
@@ -55,8 +54,9 @@
* Check that the server correctly accept or reject updates when
* the replication is configured but could not connect to
* any of the configured replication server.
+ *
+ * @throws Exception If an unexpected error occurred.
*/
- @SuppressWarnings("unchecked")
@Test()
public void noUpdateIsolationPolicyTest() throws Exception
{
@@ -100,7 +100,7 @@
// check that the operation was successful.
assertEquals(op.getResultCode(), ResultCode.SUCCESS,
- op.getAdditionalLogMessage().toString());
+ op.getAdditionalLogItems().toString());
}
finally
{
--
Gitblit v1.10.0