directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1713092 - /directory/apacheds/trunk/kerberos-test/src/test/java/org/apache/directory/server/kerberos/kdc/KerberosTestUtils.java
Date Sat, 07 Nov 2015 07:48:49 GMT
Author: seelmann
Date: Sat Nov  7 07:48:49 2015
New Revision: 1713092

URL: http://svn.apache.org/viewvc?rev=1713092&view=rev
Log:
Attempt to fix kerberos related tests that fails on some systems by using FQDN.

Modified:
    directory/apacheds/trunk/kerberos-test/src/test/java/org/apache/directory/server/kerberos/kdc/KerberosTestUtils.java

Modified: directory/apacheds/trunk/kerberos-test/src/test/java/org/apache/directory/server/kerberos/kdc/KerberosTestUtils.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-test/src/test/java/org/apache/directory/server/kerberos/kdc/KerberosTestUtils.java?rev=1713092&r1=1713091&r2=1713092&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-test/src/test/java/org/apache/directory/server/kerberos/kdc/KerberosTestUtils.java
(original)
+++ directory/apacheds/trunk/kerberos-test/src/test/java/org/apache/directory/server/kerberos/kdc/KerberosTestUtils.java
Sat Nov  7 07:48:49 2015
@@ -256,7 +256,7 @@ public class KerberosTestUtils
         try
         {
             InetAddress loopback = InetAddress.getLocalHost();
-            hostName = loopback.getHostName();
+            hostName = loopback.getCanonicalHostName();
         }
         catch ( UnknownHostException e )
         {



Mime
View raw message