From c6c3de416bcc406346299a860905c9e71870a4ab Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Mon, 27 Aug 2007 11:58:47 +0000
Subject: [PATCH] complement for issue 2097 : total update fails sending a Message to ReplicationCache
---
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/InitOnLineTest.java | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/InitOnLineTest.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/InitOnLineTest.java
index 0236f64..a119ab3 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/InitOnLineTest.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/InitOnLineTest.java
@@ -111,7 +111,6 @@
private static final DebugTracer TRACER = getTracer();
private static final int WINDOW_SIZE = 10;
- private static final int CHANGELOG_QUEUE_SIZE = 100;
/**
* A "person" entry
@@ -501,15 +500,13 @@
// Check that the left counter.
AttributeType taskStateType =
DirectoryServer.getAttributeType(ATTR_TASK_INITIALIZE_LEFT, true);
- String leftString =
- resultEntry.getAttributeValue(taskStateType,
+ resultEntry.getAttributeValue(taskStateType,
DirectoryStringSyntax.DECODER);
// Check that the total counter.
taskStateType =
DirectoryServer.getAttributeType(ATTR_TASK_INITIALIZE_DONE, true);
- String totalString =
- resultEntry.getAttributeValue(taskStateType,
+ resultEntry.getAttributeValue(taskStateType,
DirectoryStringSyntax.DECODER);
}
catch(Exception e)
@@ -544,7 +541,7 @@
log(logMessages.get(0));
log(expectedMessage.toString());
assertTrue(logMessages.get(0).indexOf(
- expectedMessage.toString())>0);
+ expectedMessage.toString())>=0);
}
}
}
@@ -1387,7 +1384,7 @@
String testCase = "InitializeNoSource";
log("Starting "+testCase);
- // Start SS
+ // Start Replication Server
changelog1 = createChangelogServer(changelog1ID);
// Creates config to synchronize suffix
--
Gitblit v1.10.0