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] Updated: (HARMONY-1955) [classlib][luni] org.apache.harmony.luni.tests.java.lang.ThreadGroupTest fails
Date Mon, 13 Nov 2006 08:19:38 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1955?page=all ]

Elena Semukhina updated HARMONY-1955:

    Attachment: H-1625_ThreadGroupTest.patch

I tried the attached patch. 
test_list failed with the output exceeded the limit again because the "main" ThreadGroup contains
the threads which the test does not expect to exis there (e.g. Thread[Thread-shutdown,5,main]

I'd suggest that the test_list verifies the expected info in the output rather than its length.

I attached the H-1625_ThreadGroupTest.patch. 
The patch also adds a clean up to test_acctiveCount() and test_suspend().

> [classlib][luni] org.apache.harmony.luni.tests.java.lang.ThreadGroupTest fails
> ------------------------------------------------------------------------------
>                 Key: HARMONY-1955
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1955
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexei Fedotov
>         Attachments: H-1625_ThreadGroupTest.patch, ThreadGroupTest-1.patch
> Elena Semukhina wrote at HARMONY-1625:
> 2) <testcase classname="org.apache.harmony.luni.tests.java.lang.ThreadGroupTest" name="test_suspend"
>     <error message="The thread group Test group is not empty" type="java.lang.IllegalThreadStateException">java.lang.IllegalThreadStateException:
The thread group Test group is not empty  [...]
> test_suspend fails because it tries to destroy a non-empty group containing suspended
threads. I suggest to change the test so that it stops the threads and then destroys the group.

> 3) <testcase classname="org.apache.harmony.luni.tests.java.lang.ThreadGroupTest" name="test_list"
>       <failure message="Either &apos;list&apos; is wrong or other tests are
leaving side-effects. [...]
> test_list fails because it verifies the length of the output string. The output on drlvm
is quite correct but longer than expected. I suggest to change the test so that it checks
the output in more smart way. 
> See also http://wiki.apache.org/harmony/Unit_Tests_Pass_on_DRLVM

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