From aff0c82fa0b2e0a694014858aca28799af8f3dff Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Fri, 28 Mar 2008 02:17:28 +0000
Subject: [PATCH] fix the InitOnlineTest to clear the Replication Servers Dbs after each tests so that they do not interfere with each other otherwise this can cause some failure of the tests depending on the order in which they are run
---
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/InitOnLineTest.java | 9 +++++++++
1 files changed, 9 insertions(+), 0 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 c1e723d..4e265bf 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
@@ -1494,5 +1494,14 @@
server3 = null;
}
super.cleanRealEntries();
+
+ if (changelog1 != null)
+ changelog1.clearDb();
+
+ if (changelog2 != null)
+ changelog2.clearDb();
+
+ if (changelog3 != null)
+ changelog3.clearDb();
}
}
--
Gitblit v1.10.0