From 7ddd4a6c4c2fbce71c8071bca380e5c5402e697c Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Thu, 24 Sep 2015 12:05:10 +0000
Subject: [PATCH] OPENDJ-1857 LDIF changerecord parsing should be less case sensitive
---
opendj-server-legacy/src/test/java/org/opends/server/replication/plugin/HistoricalTest.java | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/opendj-server-legacy/src/test/java/org/opends/server/replication/plugin/HistoricalTest.java b/opendj-server-legacy/src/test/java/org/opends/server/replication/plugin/HistoricalTest.java
index aa76922..e42497a 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/replication/plugin/HistoricalTest.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/replication/plugin/HistoricalTest.java
@@ -50,9 +50,7 @@
import static org.opends.server.util.CollectionUtils.*;
import static org.testng.Assert.*;
-/**
- * Tests the Historical class.
- */
+/** Tests the Historical class. */
@SuppressWarnings("javadoc")
public class HistoricalTest extends ReplicationTestCase
{
@@ -332,7 +330,7 @@
private static void publishModify(ReplicationBroker broker, CSN changeNum,
DN dn, String entryuuid, AttributeType attrType, String newValue)
{
- Attribute attr = Attributes.create(attrType.getNormalizedPrimaryName(), newValue);
+ Attribute attr = Attributes.create(attrType.getNameOrOID(), newValue);
List<Modification> mods = newArrayList(new Modification(ModificationType.ADD, attr));
broker.publish(new ModifyMsg(changeNum, dn, mods, entryuuid));
}
--
Gitblit v1.10.0