Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Patch Available
-
Novice
Description
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.