qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rafael H. Schloming (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Resolved: (QPID-1499) IOAcceptor test class has no shutdown method causing test failures on Mac OS X
Date Sat, 06 Dec 2008 20:11:44 GMT

     [ https://issues.apache.org/jira/browse/QPID-1499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rafael H. Schloming resolved QPID-1499.
---------------------------------------

    Resolution: Fixed

> 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
>            Assignee: Rafael H. Schloming
>            Priority: Minor
>             Fix For: M4
>
>
> 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.


Mime
View raw message