directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r925825 - /directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchIT.java
Date Sun, 21 Mar 2010 16:54:27 GMT
Author: seelmann
Date: Sun Mar 21 16:54:27 2010
New Revision: 925825

URL: http://svn.apache.org/viewvc?rev=925825&view=rev
Log:
Made the assert a bit more relaxed. HBase partition doesn't store the full DN but only RDNs
so the reconstructed DN doesn't contain the space.

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

Modified: directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchIT.java?rev=925825&r1=925824&r2=925825&view=diff
==============================================================================
--- directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchIT.java
(original)
+++ directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchIT.java
Sun Mar 21 16:54:27 2010
@@ -1497,7 +1497,7 @@ public class SearchIT extends AbstractLd
        }
 
        assertEquals( "Expected number of results returned was incorrect!", 2, map.size()
);
-       assertTrue( map.containsKey( "cn=Heather Nova, ou=system" ) );
+       assertTrue( map.containsKey( "cn=Heather Nova, ou=system" ) || map.containsKey( "cn=Heather
Nova,ou=system" ) );
    }
 
 
@@ -1521,7 +1521,7 @@ public class SearchIT extends AbstractLd
        }
 
        assertEquals( "Expected number of results returned was incorrect", 1, map.size() );
-       assertTrue( map.containsKey( "cn=with-dn, ou=system" ) );
+       assertTrue( map.containsKey( "cn=with-dn, ou=system" ) || map.containsKey( "cn=with-dn,ou=system"
) );
    }
 
 



Mime
View raw message