From d3dcf461ec922370de1db3f923b53d26018e71e6 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Sun, 20 Jan 2008 16:47:31 +0000
Subject: [PATCH] Tests were pausing the wrong thread: change TimerThread.sleep() to Thread.sleep().
---
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ReplicationTestCase.java | 2 +-
1 files changed, 1 insertions(+), 1 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 e91164d..27300c7 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
@@ -472,7 +472,7 @@
do
{
if (count++>0)
- TimeThread.sleep(100);
+ Thread.sleep(100);
op = connection.processSearch(
ByteStringFactory.create("cn=monitor"),
SearchScope.SINGLE_LEVEL,
--
Gitblit v1.10.0