From fba5efd73ed6517e050737360333f73829469358 Mon Sep 17 00:00:00 2001
From: mmarie <mmarie@localhost>
Date: Fri, 24 Apr 2009 14:32:27 +0000
Subject: [PATCH] Fix for EmbeddedUtilsTestCase test failures

---
 opends/src/server/org/opends/server/core/DirectoryServer.java |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/opends/src/server/org/opends/server/core/DirectoryServer.java b/opends/src/server/org/opends/server/core/DirectoryServer.java
index 6dbb1f0..5a8ab3a 100644
--- a/opends/src/server/org/opends/server/core/DirectoryServer.java
+++ b/opends/src/server/org/opends/server/core/DirectoryServer.java
@@ -1325,11 +1325,6 @@
         }
       }
 
-
-      // Ensure that the timer thread has started.
-      TimeThread.start();
-
-
       // Mark the current time as the start time.
       startUpTime  = System.currentTimeMillis();
       startTimeUTC = TimeThread.getGMTTime();
@@ -8561,6 +8556,9 @@
   public static DirectoryServer reinitialize(DirectoryEnvironmentConfig config)
          throws InitializationException
   {
+    // Ensure that the timer thread has started.
+    TimeThread.start();
+
     getNewInstance(config);
     LockManager.reinitializeLockTable();
     directoryServer.bootstrapServer();

--
Gitblit v1.10.0