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-2204) [drlvm][kernel test] Kernel test ThreadTest.testJoinlongint() fails from time to time.
Date Fri, 17 Nov 2006 14:12:38 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2204?page=all ]

Elena Semukhina updated HARMONY-2204:

    Attachment: H-2204.patch

I attached the patch.
It fixes thread_native_condvar.c which ignores any nanos < 1000; they should be rounded
up to 1 microsecond. 
It also fixes ThreadTest and ObjectTest giving them more tolerance in waiting time. The tests
will also print the values in their error messages so that we could see how much the difference
is between expected and actual values.

I rely on the spec for Object.wait(long) which reads that waiting lasts until:
The specified amount of real time has elapsed, more or less.

I suggest to update tests and see if they still fail.

> [drlvm][kernel test] Kernel test ThreadTest.testJoinlongint() fails from time to time.
> --------------------------------------------------------------------------------------
>                 Key: HARMONY-2204
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2204
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Elena Semukhina
>         Attachments: H-2204.patch
> When the test fails, it reports that it spent less time in join() than expected.

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