You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexei Fedotov (JIRA)" <ji...@apache.org> on 2006/11/07 15:32:52 UTC
[jira] Commented: (HARMONY-1955) [classlib][luni]
org.apache.harmony.luni.tests.java.lang.ThreadGroupTest fails
[ http://issues.apache.org/jira/browse/HARMONY-1955?page=comments#action_12447805 ]
Alexei Fedotov commented on HARMONY-1955:
-----------------------------------------
Without a patch I see a different behavior for ThreadGroupTest on r472083:
...........F........
Time: 12.504
There was 1 failure:
1) test_list(org.apache.harmony.luni.tests.java.lang.ThreadGroupTest)junit.frame
work.AssertionFailedError: Either 'list' is wrong or other tests are leaving side-effects.
Result from list:662
-----------------site/proj/drl/mrt/users/af/ws/1
java.lang.ThreadGroup[name=main,maxpri=10]
Thread[Thread-shutdown,5,main]
Thread[main,5,main]
java.lang.ThreadGroup[name=activeCount,maxpri=10]
java.lang.ThreadGroup[name=Test group,maxpri=10]
-----------------
at org.apache.harmony.luni.tests.java.lang.ThreadGroupTest.test_list(ThreadGroupTest.java:484)
at java.lang.reflect.VMReflection.invokeMethod(Native Method)
FAILURES!!!
Tests run: 19, Failures: 1, Errors: 0
> [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
>
> Elena Semukhina wrote at HARMONY-1625:
> 2) <testcase classname="org.apache.harmony.luni.tests.java.lang.ThreadGroupTest" name="test_suspend" time="3.86">
> <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" time="0.213">
> <failure message="Either 'list' 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