harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-1974) [classlib][lini] unit test ThreadTest.test_enumerate$Ljava_lang_Thread() fails intermittently on drlvm
Date Thu, 16 Nov 2006 12:26:38 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1974?page=all ]

Alexey Varlamov closed HARMONY-1974.
------------------------------------

    Resolution: Fixed

Elena, I could not reproduce the failure (maybe due to intermittent nature), but the change
you suggest looks reasonable.
Applied at r475706, thank you!

> [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
>         Assigned To: Alexey Varlamov
>         Attachments: H-1974ThreadTest_2.patch, 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

        

Mime
View raw message