directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1135675 - /directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/add/AddIT.java
Date Tue, 14 Jun 2011 16:16:57 GMT
Author: elecharny
Date: Tue Jun 14 16:16:57 2011
New Revision: 1135675

URL: http://svn.apache.org/viewvc?rev=1135675&view=rev
Log:
Modify the LdapSrever declaration so that a distinct port is selected when running tests.

Modified:
    directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/add/AddIT.java

Modified: directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/add/AddIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/add/AddIT.java?rev=1135675&r1=1135674&r2=1135675&view=diff
==============================================================================
--- directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/add/AddIT.java
(original)
+++ directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/add/AddIT.java
Tue Jun 14 16:16:57 2011
@@ -140,8 +140,8 @@ import org.slf4j.LoggerFactory;
                 @CreateIndex(attribute = "dc"),
                 @CreateIndex(attribute = "ou")
             }) })
-@CreateLdapServer(transports =
-    { @CreateTransport(protocol = "LDAP") })
+@CreateLdapServer( name = "ADDIT",  transports =
+    { @CreateTransport(protocol = "LDAP", port = -1 ) })
 @ApplyLdifs(
     {
         // Entry # 0
@@ -1353,8 +1353,8 @@ public class AddIT extends AbstractLdapT
     @CreateDS( 
         enableChangeLog = false,
         name = "DSAlias" )
-    @CreateLdapServer(transports =
-        { @CreateTransport(protocol = "LDAP") })
+    @CreateLdapServer( name = "DSAlias", transports =
+        { @CreateTransport(protocol = "LDAP", port = -1) })
     public void test_DIRSERVER_1357() throws Exception
     {
         DirContext ctx = ( DirContext ) ServerIntegrationUtils.getWiredContext( getLdapServer()
).lookup( "ou=system" );



Mime
View raw message