You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Elena Semukhina (JIRA)" <ji...@apache.org> on 2006/11/17 15:12:38 UTC

[jira] Updated: (HARMONY-2204) [drlvm][kernel test] Kernel test ThreadTest.testJoinlongint() fails from time to time.

     [ 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