directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r369219 - /directory/trunks/mina/core/src/test/java/org/apache/mina/transport/socket/nio/SocketBindTest.java
Date Sun, 15 Jan 2006 15:34:14 GMT
Author: akarasulu
Date: Sun Jan 15 07:34:10 2006
New Revision: 369219

URL: http://svn.apache.org/viewcvs?rev=369219&view=rev
Log:
Applied Niklas\' suggestion to fix DIRMINA-163

Modified:
    directory/trunks/mina/core/src/test/java/org/apache/mina/transport/socket/nio/SocketBindTest.java

Modified: directory/trunks/mina/core/src/test/java/org/apache/mina/transport/socket/nio/SocketBindTest.java
URL: http://svn.apache.org/viewcvs/directory/trunks/mina/core/src/test/java/org/apache/mina/transport/socket/nio/SocketBindTest.java?rev=369219&r1=369218&r2=369219&view=diff
==============================================================================
--- directory/trunks/mina/core/src/test/java/org/apache/mina/transport/socket/nio/SocketBindTest.java
(original)
+++ directory/trunks/mina/core/src/test/java/org/apache/mina/transport/socket/nio/SocketBindTest.java
Sun Jan 15 07:34:10 2006
@@ -60,7 +60,7 @@
         IoSession[] sessions = new IoSession[ 5 ];
         for( int i = 0; i < sessions.length; i++ )
         {
-            ConnectFuture future = connector.connect( addr, new IoHandlerAdapter() );
+            ConnectFuture future = connector.connect( new InetSocketAddress( "localhost",
port ), new IoHandlerAdapter() );
             future.join();
             sessions[ i ] = future.getSession();
             Assert.assertTrue( sessions[ i ].isConnected() );



Mime
View raw message