directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 46293 - incubator/directory/seda/trunk/src/test/org/apache/seda
Date Sat, 18 Sep 2004 02:55:27 GMT
Author: akarasulu
Date: Fri Sep 17 19:55:26 2004
New Revision: 46293

Modified:
   incubator/directory/seda/trunk/src/test/org/apache/seda/DefaultFrontendFactoryTest.java
Log:
oops need to correct this

Modified: incubator/directory/seda/trunk/src/test/org/apache/seda/DefaultFrontendFactoryTest.java
==============================================================================
--- incubator/directory/seda/trunk/src/test/org/apache/seda/DefaultFrontendFactoryTest.java
(original)
+++ incubator/directory/seda/trunk/src/test/org/apache/seda/DefaultFrontendFactoryTest.java
Fri Sep 17 19:55:26 2004
@@ -101,12 +101,12 @@
     {
         ListenerConfig config = null;
         config = new TCPListenerConfig( new SocketListenerAddress(
-            InetAddress.getByName( "millikan" ) ), new InetServiceEntry( "echo", 7 ) );
+            InetAddress.getLocalHost() ), new InetServiceEntry( "echo", 7 ) );
         fe.getListenerManager().bind( config );
         fe.register( new EchoProtocolProvider() );
 
         EchoTCPClient client = new EchoTCPClient();
-        client.connect( InetAddress.getByName( "millikan" ), 7 );
+        client.connect( InetAddress.getLocalHost(), 7 );
         byte[] toSend = "Hello world!".getBytes();
         byte[] recieved = new byte[toSend.length];
         client.getOutputStream().write( toSend );

Mime
View raw message