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

[jira] Updated: (HARMONY-1974) [classlib][lini] unit test ThreadTest.test_enumerate$Ljava_lang_Thread() fails intermittently on drlvm

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

Elena Semukhina updated HARMONY-1974:
-------------------------------------

    Attachment: ThreadTest.patch

I attached the patch which fixes the test.

> [classlib][lini] unit test ThreadTest.test_enumerate$Ljava_lang_Thread() fails intermittently on drlvm
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1974
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1974
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Elena Semukhina
>         Attachments: ThreadTest.patch
>
>
> The test fails rather often when running the whole luni module with the following message:
> Incorrect value returned2 
> junit.framework.AssertionFailedError: Incorrect value returned2 at junit.framework.AssertionFailedError.<init>(AssertionFailedError.java:11) at org.apache.harmony.luni.tests.java.lang.ThreadTest.test_enumerate$Ljava_lang_Thread(ThreadTest.java:357) at java.lang.reflect.VMReflection.invokeMethod(Native Method) 0.000 
> test_getContextClassLoader Success 
> or
> Incorrect value returned3 
> junit.framework.AssertionFailedError: Incorrect value returned3 at junit.framework.AssertionFailedError.<init>(AssertionFailedError.java:11) at org.apache.harmony.luni.tests.java.lang.ThreadTest.test_enumerate$Ljava_lang_Thread(ThreadTest.java:357) at java.lang.reflect.VMReflection.invokeMethod(Native Method) 0.000 
> test_getContextClassLoader Success 
> It seems that the test should wait until threads are started and then call the enumerate() method.
>  

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