From ea07941708927aaddb5afeaf7df6a720f137faf1 Mon Sep 17 00:00:00 2001
From: fguigues <fguigues@localhost>
Date: Wed, 25 Feb 2009 13:29:21 +0000
Subject: [PATCH] Fix 3808: hasSubordinates is broken in cn=monitor Fix 3810: Parent DN entry should not be returned when using a child as search base dn

---
 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 e5d2c99..d325b25 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
@@ -645,7 +645,7 @@
         Thread.sleep(100);
       op = connection.processSearch(
           ByteString.valueOf("cn=monitor"),
-                                    SearchScope.SINGLE_LEVEL,
+                                    SearchScope.WHOLE_SUBTREE,
                                     LDAPFilter.decode(monitorFilter));
     }
     while (op.getSearchEntries().isEmpty() && (count<100));

--
Gitblit v1.10.0