From 989aec4a7b0536eaa9298c3c59711b3936ba5d8e Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Tue, 25 Jun 2013 09:42:19 +0000
Subject: [PATCH] Fix unit test broken in commit r9044.
---
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/TestSynchronousReplayQueue.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/TestSynchronousReplayQueue.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/TestSynchronousReplayQueue.java
index ce473b6..94bc55d 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/TestSynchronousReplayQueue.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/TestSynchronousReplayQueue.java
@@ -23,6 +23,7 @@
*
*
* Copyright 2009 Sun Microsystems, Inc.
+ * Portions copyright 2013 ForgeRock AS.
*/
package org.opends.server.replication.plugin;
@@ -77,8 +78,8 @@
public boolean offer(UpdateToReplay e, long timeout, TimeUnit unit)
throws InterruptedException
{
- // TODO Auto-generated method stub
- return false;
+ list.add(e);
+ return true;
}
public UpdateToReplay poll(long timeout, TimeUnit unit)
--
Gitblit v1.10.0