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] Created: (HARMONY-991) [classlib][nio] An unstable test in o.a.h.tests.java.nio.channels.DatagramChannelTest
Date Thu, 27 Jul 2006 03:36:13 GMT
[classlib][nio] An unstable test  in o.a.h.tests.java.nio.channels.DatagramChannelTest

                 Key: HARMONY-991
                 URL: http://issues.apache.org/jira/browse/HARMONY-991
             Project: Harmony
          Issue Type: Test
          Components: Classlib
            Reporter: Andrew Zhang

Test testReceiveSend_NonBlock_Empty_S2C() in DatagramChannelTest is unstable. 

public void testReceiveSend_NonBlock_Empty_S2C() throws Exception {
        sendByDatagramSocket("", localAddr2);
        // It may fail here sometimes
        receiveByChannel(CAPACITY_NORMAL, localAddr2, "");

receiveByChannel() could not guarantee that data can always be receieved from a non-blocking
channel. The test fails on my machine sometimes, though infrequently.

I'll upload a patch to fix this problem.


Best regards,

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


View raw message