harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Catherine Hope (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-6621) [classlib][nio] Minor testcase improvements to ServerSocketChannelTest and SocketChannelTest
Date Thu, 12 Aug 2010 19:29:17 GMT
[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
            Priority: Minor


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.


Mime
View raw message