[ http://issues.apache.org/jira/browse/DIRMINA-159?page=comments#action_12362955 ]
Ersin Er commented on DIRMINA-159: ---------------------------------- Ok, it works now. The problem is that my hostname was defined neither in DNS nor local /etc/hosts. So when the name cannot be resolved the following error occurs: ... java.net.UnknownHostException: ersin_er_mobile: ersin_er_mobile at java.net.InetAddress.getLocalHost(InetAddress.java:1308) at org.apache.mina.transport.socket.nio.DatagramTrafficControlTest.connect(DatagramTrafficControlTest.java:50) ... > Build of the project fails due to tests not passsing > ---------------------------------------------------- > > Key: DIRMINA-159 > URL: http://issues.apache.org/jira/browse/DIRMINA-159 > Project: Directory MINA > Type: Bug > Environment: Java. 1.5.0_06, Maven 2.0.1, Fedora Core 4 > Reporter: Ersin Er > Assignee: Niklas Therning > Priority: Blocker > Fix For: 0.9.1 > > The build of the project sometimes fail with the following messages: > [surefire] Running > org.apache.mina.transport.socket.nio.SocketTrafficControlTest > [surefire] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.164 sec > <<<<<<<< FAILURE !! > [surefire] Running > org.apache.mina.transport.socket.nio.DatagramTrafficControlTest > [surefire] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.146 sec > <<<<<<<< FAILURE !! > However, this is not a certain case that happens all the time and when it > happens, it blocks the build of the whole directory project in trunk which is > really bad. -- 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
