harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elena Semukhina (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1974) [classlib][lini] unit test ThreadTest.test_enumerate$Ljava_lang_Thread() fails intermittently on drlvm
Date Thu, 26 Oct 2006 09:18:16 GMT
[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


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