You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Varlamov (JIRA)" <ji...@apache.org> on 2007/04/02 14:12:32 UTC

[jira] Commented: (HARMONY-3520) [drlvm][kernel tests] Two intermittently failing tests should be fixed.

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

Alexey Varlamov commented on HARMONY-3520:
------------------------------------------

Re ClassLoaderTest, is there any reason to construct paths to classes by hand? It is highly vulnerable against build structure changes and simply clutters code. What about using ClassLoader.getResource() or smth similar?

> [drlvm][kernel tests] Two intermittently failing tests should be fixed.
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3520
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3520
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>            Reporter: Elena Semukhina
>         Attachments: H-3520_kernel_tests.patch
>
>
> I see intermittent failures of ThreadTest.testInterrupt_Waiting () and ThreadRTest.testStopFinally().
> I think they reveal the tests' problems.
> The first test tries to interrupt a waiting thread and fails because the thread doesn't receive InterruptedException. I added a check that the thread is in the TIMED_WAITING state and only interrupt after this.
> The second test needs waiting time to be increased.
> One more test in the patch is ClassLoaderTest. It actually did not work until now because it silently exited at the beginning. I fixed the test so that it sets the corect path to a file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.