directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1303458 - /directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchWithIndicesIT.java
Date Wed, 21 Mar 2012 16:17:32 GMT
Author: elecharny
Date: Wed Mar 21 16:17:31 2012
New Revision: 1303458

URL: http://svn.apache.org/viewvc?rev=1303458&view=rev
Log:
Modified the test to start from a baseDn instead of the rootDSE

Modified:
    directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchWithIndicesIT.java

Modified: directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchWithIndicesIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchWithIndicesIT.java?rev=1303458&r1=1303457&r2=1303458&view=diff
==============================================================================
--- directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchWithIndicesIT.java
(original)
+++ directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchWithIndicesIT.java
Wed Mar 21 16:17:31 2012
@@ -241,7 +241,7 @@ public class SearchWithIndicesIT extends
         connection.add( entry );
         
         // Check that we can find it back
-        EntryCursor cursor = connection.search( "", "(description=*)", SearchScope.SUBTREE,
"*" );
+        EntryCursor cursor = connection.search( "ou=system", "(description=*)", SearchScope.SUBTREE,
"*" );
 
         while ( cursor.next() )
         {
@@ -253,7 +253,7 @@ public class SearchWithIndicesIT extends
             new DefaultModification( ModificationOperation.REPLACE_ATTRIBUTE, "description"
) );
         
         // Check that we can find it back
-        cursor = connection.search( "", "(description=*)", SearchScope.SUBTREE, "*" );
+        cursor = connection.search( "ou=system", "(description=*)", SearchScope.SUBTREE,
"*" );
 
         while ( cursor.next() )
         {



Mime
View raw message