elecharny commented on PR #74:
URL: https://github.com/apache/mina/pull/74#issuecomment-5947013439

   Nah, it's simpler that that. This part of the code recreate a socket address:
   
   ```
   ...
               int port = AcceptorBindUtil.tryBind(acceptor);
               InetSocketAddress address = new InetSocketAddress("127.0.0.1", 
port);
   ...
   ```
   
   Changing the code to:
   
   ```
   ...
               int port = AcceptorBindUtil.tryBind(acceptor);
               InetSocketAddress address = acceptor.getLocalAddress() ;
   ...
   ```
   fixes the test.
   (I committed the code)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to