harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Markov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2338) [classlib][luni] tests.api.java.net.ServerSocketTest failed intermittently
Date Thu, 21 Dec 2006 13:20:27 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2338?page=all ]

Mikhail Markov updated HARMONY-2338:

    Attachment: Support_PortManager.patch

I've implemented the following scheme
1) try to use of ServerSocket(0) to find non-busy port (i did not notice any objections agains
using ServerSocket :-))
2) If the 1-st step fails at least once (meaning that something wrong with ServerSocket) then
use previous unsafe method.
The attached patch modifies Support_PortManager class so all tests using it will utilize this
Hope this solves the issue.

> [classlib][luni] tests.api.java.net.ServerSocketTest failed intermittently
> --------------------------------------------------------------------------
>                 Key: HARMONY-2338
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2338
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: SuSE 9 ia32 multi-processor
>            Reporter: Alexei Fedotov
>         Attachments: Support_PortManager.patch
> The test failed 2 times from 162 on DRLVM r479662. 

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


View raw message