You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mikhail Markov (JIRA)" <ji...@apache.org> on 2006/12/21 14:20:27 UTC

[jira] Updated: (HARMONY-2338) [classlib][luni] tests.api.java.net.ServerSocketTest failed intermittently

     [ 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 scheme.
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