[ https://issues.apache.org/jira/browse/DIRMINA-680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny reopened DIRMINA-680: --------------------------------------- It now fails on my laptop : ------------------------------------------------------------------------------- Test set: org.apache.mina.transport.socket.nio.DatagramPortUnreachableTest ------------------------------------------------------------------------------- Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.07 sec <<< FAILURE! testPortUnreachableClosesSession(org.apache.mina.transport.socket.nio.DatagramPortUnreachableTest) Time elapsed: 0.027 sec <<< FAILURE! junit.framework.AssertionFailedError: expected:<true> but was:<false> at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:277) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:143) at junit.framework.Assert.assertEquals(Assert.java:149) at org.apache.mina.transport.socket.nio.DatagramPortUnreachableTest.runTest(DatagramPortUnreachableTest.java:60) at org.apache.mina.transport.socket.nio.DatagramPortUnreachableTest.testPortUnreachableClosesSession(DatagramPortUnreachableTest.java:66) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) > PortUnreachableException ought not to schedule session shutdown > --------------------------------------------------------------- > > Key: DIRMINA-680 > URL: https://issues.apache.org/jira/browse/DIRMINA-680 > Project: MINA > Issue Type: Improvement > Components: Core > Affects Versions: 2.0.0-M4 > Reporter: John J. Franey > Assignee: Edouard De Oliveira > Fix For: 2.0.0-M7 > > Attachments: pure.txt > > > I wonder if you would entertain the idea that the PortUnreachableException > should be handled in the IoHandler by the 'application', at least for > datagram applications. > I'm working on an RTP implementation which is datagram based. I'm still > naive about RTP, but it seems reasonable for media to be sent prematurely, or > the for the remote port to be down temporarily. I would like to have the > option to temporarily suspend transmission on the socket, as opposed to have > to 'reconnect' the datagram socket. > Thanks, > John -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.