harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-2820) [classlib] intermittent failure of tests.api.java.util.TimerTaskTest
Date Fri, 22 Dec 2006 11:31:23 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2820?page=all ]

Tim Ellison resolved HARMONY-2820.
----------------------------------

    Resolution: Fixed

Thanks Tatyana/ Mikhail,

Patch applied to LUNI module at repo revision r489624.

Please check that it fully resolves you issue.

p.s. Please avoid reformatting in the patch, it makes it much harder to review -- a comment
that the code needs reformatting is sufficient.



> [classlib] intermittent failure of tests.api.java.util.TimerTaskTest
> --------------------------------------------------------------------
>
>                 Key: HARMONY-2820
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2820
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: win XP, msvc, debug, r489062
>            Reporter: tatyana doubtsova
>         Assigned To: Tim Ellison
>         Attachments: H-2820.patch
>
>
> Intermittent failure (1 time out of 50) of tests.api.java.util.TimerTaskTest@test_cancel
> TimerTask cancelled should not run again
> junit.framework.AssertionFailedError: TimerTask cancelled should not run again at tests.api.java.util.TimerTaskTest.test_cancel(TimerTaskTest.java:174)
at java.lang.reflect.VMReflection.invokeMethod(Native Method) 2.047
> to reproduce:
> #!/bin/sh
> A=0
> while [ "$A" -lt "50" ]; do
>       ant -Dtest.jre.home=<path to jre> -Dbuild.module=luni -Dhy.test.vm.name=drl
-Dhy.test.forkmode=once test
>       A=`expr $A + 1`
> done

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