harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3520) [drlvm][kernel tests] Two intermittently failing tests should be fixed.
Date Mon, 02 Apr 2007 12:12:32 GMT

    [ 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

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

View raw message