From a5ce1b53bf9304c08bb51639b48bb77085cd62b3 Mon Sep 17 00:00:00 2001
From: davidely <davidely@localhost>
Date: Sun, 02 Sep 2007 04:00:42 +0000
Subject: [PATCH] There are several improvements to the unit test framework in this commit.

---
 opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ReplicationTestCase.java |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ReplicationTestCase.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ReplicationTestCase.java
index 35ba5fd..6bf5821 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ReplicationTestCase.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ReplicationTestCase.java
@@ -82,7 +82,7 @@
 /**
  * An abstract class that all Replication unit test should extend.
  */
-@Test(groups = { "precommit", "replication" })
+@Test(groups = { "precommit", "replication" }, sequential = true)
 public abstract class ReplicationTestCase extends DirectoryServerTestCase
 {
 
@@ -129,7 +129,7 @@
   public void setUp() throws Exception
   {
     // This test suite depends on having the schema available.
-    TestCaseUtils.startServer();
+    TestCaseUtils.restartServer();
 
     // Create an internal connection
     connection = InternalClientConnection.getRootConnection();
@@ -319,6 +319,9 @@
   {
     cleanConfigEntries();
     cleanRealEntries();
+
+    entryList = null;
+    configEntryList = null;
   }
 
   /**

--
Gitblit v1.10.0