harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Zhang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-745) [classlib][nio] Refine some unstable tests for read/write operation in o.a.h.tests.java.nio.channels.SocketChannelTest
Date Wed, 05 Jul 2006 01:49:30 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-745?page=comments#action_12419199 ] 

Andrew Zhang commented on HARMONY-745:
--------------------------------------

Hello George,

The fix looks good, thank you very much!

For your question:

Yes, I encountered the same problem. 

I'll add a commentary in code next time.  To ensure that it is a bug of RI, I have discussed
this issue with community on mailing list 

a few days ago. 

For more detail information, please refer to following threads :

Thread 1.  RI's bug of Socket.getOutputStream().write(byte[]) ?

Thread 2. [classlib][LUNI | NIO] How to write stable tests for blocking write/read operations
of Socket and SocketChannel 

At last, we got consensus of writing blocking/nonblocking tests of network related, and confirmed
that it was a bug of RI. 

Thanks!

Best regards,
Andrew


> [classlib][nio] Refine some unstable tests for read/write operation in o.a.h.tests.java.nio.channels.SocketChannelTest
> ----------------------------------------------------------------------------------------------------------------------
>
>          Key: HARMONY-745
>          URL: http://issues.apache.org/jira/browse/HARMONY-745
>      Project: Harmony
>         Type: Test

>   Components: Classlib
>     Reporter: Andrew Zhang
>     Assignee: George Harley
>  Attachments: SocketChannelTest.diff
>
> Refine some unstable tests for read/write operation in o.a.h.tests.java.nio.channels.SocketChannelTest.

> They are testReadByteBufferArray_Blocking_ReadWriteRealData, testReadByteBufferArray_NonBlocking_ReadWriteRealData,
testReadByteBufferArrayIntInt_Blocking_ReadWriteRealData, testReadByteBufferArrayIntInt_NonBlocking_ReadWriteRealData.

> The unstable reasons are the same as Harmony-691. 
> I'll upload a patch to remove these tests and add new corresponding stable tests.
> Thanks!

-- 
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


Mime
View raw message