hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Allen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-9148) Update CLITestHelper to skip selected tests
Date Sun, 16 Dec 2012 22:56:12 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-9148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jonathan Allen updated HADOOP-9148:

    Attachment: HADOOP-9148.patch

Updates to CLITestHelper to allow tests to be skipped during development. Includes the following
options (set by system properties):
- test.cli.include - comma separated list of regex to be matched against the test description,
defaults to run all tests
- test.cli.terminate - number of test failures to allow before terminating the run, default
to run all tests
- test.cli.report.progress - log each as its run or skipped
- test.cli.report.detail - display the detail report
- test.cli.report.skipped - display the tests skipped report
- test.cli.report.failing - display the tests failing report
- test.cli.report.passing - display the tests passing report

(the report display options added to stop large numbers of tests causing the detail results
to scroll out of the history)
> Update CLITestHelper to skip selected tests
> -------------------------------------------
>                 Key: HADOOP-9148
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9148
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Jonathan Allen
>            Assignee: Jonathan Allen
>            Priority: Trivial
>         Attachments: HADOOP-9148.patch
> The CLI test classes (subclasses from CLITestHelper) can take a long time to run. This
makes it difficult to add new tests as the turnaround time is excessive.  The CLITestHelper
class should be updated with options to allow only selected tests to be run.  Propose the
following options (defined as system properties):
> - test.cli.include (comma separated list of regex to match against test description field)
> - test.cli.terminate (number of failed tests to allow before terminating the run)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message