directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1004580 - in /directory/apacheds/trunk: kerberos-test/src/test/java/org/apache/directory/server/kerberos/kdc/SaslGssapiBindITest.java server-integ/src/test/java/org/apache/directory/server/operations/bind/SaslBindIT.java
Date Tue, 05 Oct 2010 08:56:41 GMT
Author: seelmann
Date: Tue Oct  5 08:56:40 2010
New Revision: 1004580

URL: http://svn.apache.org/viewvc?rev=1004580&view=rev
Log:
Test alternative way to get localhost address

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

Modified: directory/apacheds/trunk/kerberos-test/src/test/java/org/apache/directory/server/kerberos/kdc/SaslGssapiBindITest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-test/src/test/java/org/apache/directory/server/kerberos/kdc/SaslGssapiBindITest.java?rev=1004580&r1=1004579&r2=1004580&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-test/src/test/java/org/apache/directory/server/kerberos/kdc/SaslGssapiBindITest.java
(original)
+++ directory/apacheds/trunk/kerberos-test/src/test/java/org/apache/directory/server/kerberos/kdc/SaslGssapiBindITest.java
Tue Oct  5 08:56:40 2010
@@ -166,7 +166,8 @@ public class SaslGssapiBindITest extends
         String hostName;
         try
         {
-            InetAddress loopback = InetAddress.getByName( "127.0.0.1" );
+            InetAddress loopback = InetAddress.getLocalHost();
+            //InetAddress loopback = InetAddress.getByName( "127.0.0.1" );
             hostName = loopback.getHostName();
         }
         catch ( UnknownHostException e )

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=1004580&r1=1004579&r2=1004580&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
Tue Oct  5 08:56:40 2010
@@ -169,7 +169,8 @@ public class SaslBindIT extends Abstract
         String hostName;
         try
         {
-            InetAddress loopback = InetAddress.getByName( "127.0.0.1" );
+            InetAddress loopback = InetAddress.getLocalHost();
+            //InetAddress loopback = InetAddress.getByName( "127.0.0.1" );
             hostName = loopback.getHostName();
         }
         catch ( UnknownHostException e )



Mime
View raw message