directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r470189 - /directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/AddITest.java
Date Thu, 02 Nov 2006 02:17:40 GMT
Author: akarasulu
Date: Wed Nov  1 18:17:39 2006
New Revision: 470189

URL: http://svn.apache.org/viewvc?view=rev&rev=470189
Log:
fixed bug in test case where the correct port was only used some of the time

Modified:
    directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/AddITest.java

Modified: directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/AddITest.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/AddITest.java?view=diff&rev=470189&r1=470188&r2=470189
==============================================================================
--- directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/AddITest.java
(original)
+++ directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/AddITest.java
Wed Nov  1 18:17:39 2006
@@ -465,7 +465,7 @@
         ne = containerCtx.search( "ou=bestFruit", "(objectClass=*)", controls );
         assertTrue( ne.hasMore() );
         sr = ( SearchResult ) ne.next();
-        assertEquals( "ldap://localhost:1024/ou=favorite,ou=Fruits,ou=system", sr.getName()
);
+        assertEquals( "ldap://localhost:"+super.port+"/ou=favorite,ou=Fruits,ou=system",
sr.getName() );
         assertFalse( ne.hasMore() );
         
         // Remove alias and entry



Mime
View raw message