You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2014/01/12 02:45:00 UTC
svn commit: r1557478 -
/commons/proper/net/trunk/src/test/java/org/apache/commons/net/time/TimeTCPClientTest.java
Author: sebb
Date: Sun Jan 12 01:45:00 2014
New Revision: 1557478
URL: http://svn.apache.org/r1557478
Log:
Let's try explicit local host address
Modified:
commons/proper/net/trunk/src/test/java/org/apache/commons/net/time/TimeTCPClientTest.java
Modified: commons/proper/net/trunk/src/test/java/org/apache/commons/net/time/TimeTCPClientTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/test/java/org/apache/commons/net/time/TimeTCPClientTest.java?rev=1557478&r1=1557477&r2=1557478&view=diff
==============================================================================
--- commons/proper/net/trunk/src/test/java/org/apache/commons/net/time/TimeTCPClientTest.java (original)
+++ commons/proper/net/trunk/src/test/java/org/apache/commons/net/time/TimeTCPClientTest.java Sun Jan 12 01:45:00 2014
@@ -75,6 +75,7 @@ public class TimeTCPClientTest extends T
{
TimeTCPClient client = new TimeTCPClient();
InetAddress localHost = InetAddress.getLocalHost();
+ localHost = InetAddress.getByName("localhost");
try
{
// We want to timeout if a response takes longer than 60 seconds