IOAcceptor test class has no shutdown method causing test failures on Mac OS X
------------------------------------------------------------------------------

                 Key: QPID-1499
                 URL: https://issues.apache.org/jira/browse/QPID-1499
             Project: Qpid
          Issue Type: Bug
          Components: Java Common, Java Tests
    Affects Versions: M3
         Environment: Mac OS X
            Reporter: Martin Ritchie


Summary:

The ConnectionTest fails on MacOS X ant test run for a number of reasons.

The mina method AvailablePortFinder.getNextAvailable doesn't appear to get the 
next available port on MacOSX.

The problem is that each new test in ConnectionTest binds a new server but does 
not close the old one.

Under linux and windows the IOAcceptor must relinquish the socket but this 
doesn't occur under Mac OS X.


Solution.:

The IOAcceptor is a small server process for used in testing and example app

However it doesn't have a close method, if we add one then we can add a 
tearDown method that will clean up the ServerSocket used in the IOAcceptor 
between tests.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to