You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Catherine Hope (JIRA)" <ji...@apache.org> on 2010/10/12 12:12:35 UTC

[jira] Closed: (HARMONY-6621) [classlib][nio] Minor testcase improvements to ServerSocketChannelTest and SocketChannelTest

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

Catherine Hope closed HARMONY-6621.
-----------------------------------

    Resolution: Fixed

Verified

> [classlib][nio] Minor testcase improvements to ServerSocketChannelTest and SocketChannelTest
> --------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6621
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6621
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Catherine Hope
>            Assignee: Oliver Deakin
>            Priority: Minor
>         Attachments: nio.patch
>
>
> ServerSocketChannelTest will hang in 4 tests when run on platforms that have small socket buffers, such as z/OS.  The tests are trying to send large amounts of data, so if the read or write cannot complete before the corresponding write or read takes place then the I/O will block from returning.  I think this can only be fixed by having using threads in the testcase.
> Minor change to SocketChannelTest.testCFII_StatusAfterFinish to remove output to stderr and fail if the expected exception wasn't thrown.

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