You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2015/09/20 22:26:54 UTC
svn commit: r1704187 -
/directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/bind/SaslBindIT.java
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 );