You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2006/05/05 10:05:17 UTC

[jira] Updated: (HARMONY-339) some network channel test cases are unstable

     [ http://issues.apache.org/jira/browse/HARMONY-339?page=all ]

Mark Hindess updated HARMONY-339:
---------------------------------

    Attachment: revert.part.of.339.that.is.causing.linux.test.failures.diff

We've been seeing Linux test failures since this change went in.  The attached revert.*diff undoes the changes that cause the problems.  I should also note that since this patch has been applied there is still a test failing quite frequently on windows:

testReadByteBuffer_NonBlocking_ReadWriteRealTooLargeData	Error:

java.lang.IllegalArgumentException at java.nio.Buffer.position(Buffer.java:235) at org.apache.harmony.nio.internal.SocketChannelImpl.writeImpl(SocketChannelImpl.java:491) at org.apache.harmony.nio.internal.SocketChannelImpl.write(SocketChannelImpl.java:447) at org.apache.harmony.tests.java.nio.channels.SocketChannelTest.testReadByteBuffer_NonBlocking_ReadWriteRealTooLargeData(SocketChannelTest.java:2477) at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)	



> some network channel test cases are unstable
> --------------------------------------------
>
>          Key: HARMONY-339
>          URL: http://issues.apache.org/jira/browse/HARMONY-339
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Paulex Yang
>     Assignee: Tim Ellison
>  Attachments: 01.Harmony339.java.nio.test.diff, revert.part.of.339.that.is.causing.linux.test.failures.diff
>
> DatagramChannelTest is platform dependent, which fails in receiveByChannel() on SUSE linux, SocketChannelTest and 
> ServerSocketChannelTest are unstable and fails sometimes because of race condition, they should be improved or commented out. I'll attach patch soon.

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