harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Popov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3226) [jdktools][build] update build scripts to enable building and running tests
Date Mon, 26 Feb 2007 13:55:06 GMT

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

Ivan Popov commented on HARMONY-3226:

I've found out what is problem with hung JPDA test. Actually, test does not hang, but junit
task kills the tests run because timeout exceeds.

The default timeout (15 minutes) is specified in junit task in option 'timeout'. According
to junit spec, it should be used for individual tests:

  "timeout - Cancel the individual tests if they don't finish in the given time (measured
in milliseconds). Ignored if fork is disabled."

However, it appeared that junit task uses it for canceling run of the whole tests set specified
with <batchtest> element. Running of ~100 JPDA tests in one <batchtest> exceeds
default 15 minutes and junit cancels them.

A simple solution here is to increase default timeout for JPDA tests to 20 minutes and I'm
going to prepare a patch. 
The other alternative is to use several <batchtest> elements, each contains shorter
number of tests and satisfies to default 15 minutes timeout. This improvement can be addressed
in a separate JIRA.

> [jdktools][build] update build scripts to enable building and running tests
> ---------------------------------------------------------------------------
>                 Key: HARMONY-3226
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3226
>             Project: Harmony
>          Issue Type: Improvement
>          Components: JDK
>         Environment: Windows, Linux
>            Reporter: Ivan Popov
>         Assigned To: Stepan Mishura
>         Attachments: tests_support_in_build_scripts.patch
> Build scripts of jdktools module needs update to enable building and running tests provided
in jdktools modules (especially JPDA tests).

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

View raw message