From fa134ddc24346bbb579197f38a491d86695f0dd0 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Wed, 04 Sep 2013 09:42:08 +0000
Subject: [PATCH] Remove TestCaseUtils.clearJEBackend2() and use existing clearJEBackend() method.
---
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/InitOnLineTest.java | 6 +++---
1 files changed, 3 insertions(+), 3 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 68be735..3446e9f 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
@@ -159,7 +159,7 @@
// (like the test backend we use in every tests): backend is disabled then
// re-enabled and this clears the backend reference and thus the underlying
// data. So for this particular test, we use a classical backend.
- TestCaseUtils.clearJEBackend2(false, "userRoot", EXAMPLE_DN);
+ TestCaseUtils.clearJEBackend(false, "userRoot", EXAMPLE_DN);
// For most tests, a limited number of entries is enough
updatedEntries = newLDIFEntries(2);
@@ -602,7 +602,7 @@
+ (heartbeat>0?"ds-cfg-heartbeat-interval: "+heartbeat+" ms\n":"")
+ "ds-cfg-window-size: " + WINDOW_SIZE;
- TestCaseUtils.clearJEBackend2(false, "userRoot", EXAMPLE_DN);
+ TestCaseUtils.clearJEBackend(false, "userRoot", EXAMPLE_DN);
synchroServerEntry = TestCaseUtils.entryFromLdifString(synchroServerLdif);
DirectoryServer.getConfigHandler().addEntry(synchroServerEntry, null);
@@ -1541,7 +1541,7 @@
callParanoiaCheck = false;
super.classCleanUp();
- TestCaseUtils.clearJEBackend2(false, "userRoot", EXAMPLE_DN);
+ TestCaseUtils.clearJEBackend(false, "userRoot", EXAMPLE_DN);
paranoiaCheck();
}
--
Gitblit v1.10.0