directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r566384 - /directory/apacheds/trunk/protocol-kerberos/src/test/java/org/apache/directory/server/kerberos/protocol/TicketGrantingServiceTest.java
Date Wed, 15 Aug 2007 22:58:04 GMT
Author: erodriguez
Date: Wed Aug 15 15:58:03 2007
New Revision: 566384

URL: http://svn.apache.org/viewvc?view=rev&rev=566384
Log:
Modified Kerberos TGS tests to use proper InetAddress static method to retrieve loopback address.

Modified:
    directory/apacheds/trunk/protocol-kerberos/src/test/java/org/apache/directory/server/kerberos/protocol/TicketGrantingServiceTest.java

Modified: directory/apacheds/trunk/protocol-kerberos/src/test/java/org/apache/directory/server/kerberos/protocol/TicketGrantingServiceTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-kerberos/src/test/java/org/apache/directory/server/kerberos/protocol/TicketGrantingServiceTest.java?view=diff&rev=566384&r1=566383&r2=566384
==============================================================================
--- directory/apacheds/trunk/protocol-kerberos/src/test/java/org/apache/directory/server/kerberos/protocol/TicketGrantingServiceTest.java
(original)
+++ directory/apacheds/trunk/protocol-kerberos/src/test/java/org/apache/directory/server/kerberos/protocol/TicketGrantingServiceTest.java
Wed Aug 15 15:58:03 2007
@@ -523,7 +523,7 @@
         modifier.setTill( requestedEndTime );
 
         HostAddress[] address =
-            { new HostAddress( InetAddress.getLocalHost() ) };
+            { new HostAddress( InetAddress.getByName( null ) ) };
         HostAddresses addresses = new HostAddresses( address );
         modifier.setAddresses( addresses );
 
@@ -581,7 +581,7 @@
         modifier.setTill( requestedEndTime );
 
         HostAddress[] address =
-            { new HostAddress( InetAddress.getLocalHost() ) };
+            { new HostAddress( InetAddress.getByName( null ) ) };
         HostAddresses addresses = new HostAddresses( address );
         modifier.setAddresses( addresses );
 



Mime
View raw message