From dd05db4406802095ee6ff0f759985492aec1d1e3 Mon Sep 17 00:00:00 2001
From: davidely <davidely@localhost>
Date: Sun, 02 Sep 2007 15:28:30 +0000
Subject: [PATCH] Make UpdateOperationTest do a in-core restart before running tests like the other replication tests.  Fixed an NPE in ServerHandler that occurred in one run of the unit tests

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

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/UpdateOperationTest.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/UpdateOperationTest.java
index 3d5c9f2..d0d0d18 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/UpdateOperationTest.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/UpdateOperationTest.java
@@ -131,11 +131,7 @@
   @Override
   public void setUp() throws Exception
   {
-    // This test suite depends on having the schema available.
-    TestCaseUtils.startServer();
-
-    // Create an internal connection
-    connection = InternalClientConnection.getRootConnection();
+    super.setUp(); 
 
     // Create backend top level entries
     String[] topEntries = new String[2];

--
Gitblit v1.10.0