From cc595890af3004096b2494bdcf8c4bc8008c75f4 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 06 Dec 2013 17:44:53 +0000
Subject: [PATCH] Improve accuracy of timestamps and thread count changes.
---
opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java | 11 +----------
1 files changed, 1 insertions(+), 10 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java
index 67ee569..32dad53 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java
@@ -648,7 +648,7 @@
private static void waitForOpsToComplete()
{
try {
- WorkQueue workQueue = DirectoryServer.getWorkQueue();
+ WorkQueue<?> workQueue = DirectoryServer.getWorkQueue();
final long NO_TIMEOUT = -1;
workQueue.waitUntilIdle(NO_TIMEOUT);
} catch (Exception e) {
@@ -760,15 +760,6 @@
* Shut down the server, if it has been started.
* @param reason The reason for the shutdown.
*/
- public static void shutdownServer(String reason)
- {
- shutdownServer(Message.raw(reason));
- }
-
- /**
- * Shut down the server, if it has been started.
- * @param reason The reason for the shutdown.
- */
public static void shutdownServer(Message reason)
{
if (SERVER_STARTED)
--
Gitblit v1.10.0