You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by br...@apache.org on 2004/12/28 00:31:32 UTC

svn commit: r123454 - /incubator/directory/seda/trunk/src/test/org/apache/seda/examples/DiscardProtocolProviderTest.java

Author: brett
Date: Mon Dec 27 15:31:30 2004
New Revision: 123454

URL: http://svn.apache.org/viewcvs?view=rev&rev=123454
Log:
trying a different method to see if it helps tests pass on brutus

Modified:
   incubator/directory/seda/trunk/src/test/org/apache/seda/examples/DiscardProtocolProviderTest.java

Modified: incubator/directory/seda/trunk/src/test/org/apache/seda/examples/DiscardProtocolProviderTest.java
Url: http://svn.apache.org/viewcvs/incubator/directory/seda/trunk/src/test/org/apache/seda/examples/DiscardProtocolProviderTest.java?view=diff&rev=123454&p1=incubator/directory/seda/trunk/src/test/org/apache/seda/examples/DiscardProtocolProviderTest.java&r1=123453&p2=incubator/directory/seda/trunk/src/test/org/apache/seda/examples/DiscardProtocolProviderTest.java&r2=123454
==============================================================================
--- incubator/directory/seda/trunk/src/test/org/apache/seda/examples/DiscardProtocolProviderTest.java	(original)
+++ incubator/directory/seda/trunk/src/test/org/apache/seda/examples/DiscardProtocolProviderTest.java	Mon Dec 27 15:31:30 2004
@@ -45,7 +45,7 @@
 
     public void testTCP() throws Exception
     {
-        Socket socket = new Socket(InetAddress.getLocalHost(), port);
+        Socket socket = new Socket("localhost", port);
         socket.setSoTimeout(100);
 
         InputStream in = socket.getInputStream();