[ http://issues.apache.org/jira/browse/DIRMINA-294?page=all ]
Emmanuel Lecharny closed DIRMINA-294.
-------------------------------------
Resolution: Fixed
This bug has been fixed as it is a clone of DIRMINA-293 which has been fixed.
Thanks Trustin !
> Test failure
> ------------
>
> Key: DIRMINA-294
> URL: http://issues.apache.org/jira/browse/DIRMINA-294
> Project: Directory MINA
> Issue Type: Bug
> Reporter: Emmanuel Lecharny
>
> mina-core does not compile anymore due to a test failure. The
> org.apache.mina.transport.AbstractBindTest.testAnonymousBind() method check
> that the port is not 0, when it's always 0.
> I didn't wrote the test, and as there are no javadoc, I don't really know
> which value is expected, but replacig the line 131 :
> ...
> Assert.assertTrue( getPort( acceptor.getLocalAddress() ) != 0 );
> ...
> by :
> ...
> Assert.assertEquals( 0, getPort( acceptor.getLocalAddress() ));
> ...
> make the tests happy.
> Trustin ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira