directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1704187 - /directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/bind/SaslBindIT.java
Date Sun, 20 Sep 2015 20:26:54 GMT
Author: seelmann
Date: Sun Sep 20 20:26:49 2015
New Revision: 1704187

URL: http://svn.apache.org/viewvc?rev=1704187&view=rev
Log:
Replace one more occurrence of localhost with InetAddress.getLocalHost().getHostName()

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

Modified: directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/bind/SaslBindIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/bind/SaslBindIT.java?rev=1704187&r1=1704186&r2=1704187&view=diff
==============================================================================
--- directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/bind/SaslBindIT.java
(original)
+++ directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/bind/SaslBindIT.java
Sun Sep 20 20:26:49 2015
@@ -216,7 +216,8 @@ public class SaslBindIT extends Abstract
         // Point on rootDSE
         DirContext context = new InitialDirContext();
 
-        Attributes attrs = context.getAttributes( "ldap://localhost:" + getLdapServer().getPort(),
new String[]
+        Attributes attrs = context.getAttributes( "ldap://" + InetAddress.getLocalHost().getHostName()
+ ":"
+            + getLdapServer().getPort(), new String[]
             { "supportedSASLMechanisms" } );
 
         //             Thread.sleep( 10 * 60 * 1000 );



Mime
View raw message