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] Commented: (HARMONY-3024) [drlvm][kernel tests] RuntimeTest2 is unstable and should be fixed
Date Mon, 22 Jan 2007 10:01:30 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466428

Elena Semukhina commented on HARMONY-3024:

Some more comments to the patch. 

If I remove Thread.sleep(2000) at all, the test definitely fails so we need some sleeping
here. Obviously uncoditioned sleep for 2000 ms is not a good style of programming. The test
may fail on a hard loaded machine and this probably happened on the CC machine. So my decision
was to do smart sleep in the test.

> [drlvm][kernel tests] RuntimeTest2 is unstable and should be fixed
> ------------------------------------------------------------------
>                 Key: HARMONY-3024
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3024
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Elena Semukhina
>         Assigned To: Gregory Shimansky
>         Attachments: H-3024_RuntimeTest2.patch
> CC reported java.lang.RuntimeTest2 failure twice yesterday.
> It probably fails because of unconditioned waiting for 2000 ms which could be not enough.
> I updated the test so that it waits longer checking some condition is met. 
> We should see if this is a root cause.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message