hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Kuehn (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4480) Testing script to simplfy local testing
Date Fri, 07 Oct 2011 00:33:29 GMT

    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122449#comment-13122449

Scott Kuehn commented on HBASE-4480:

@Jesse, @Ted - The script has been extended with the features:  print slow/hanging tests,
read test names from a file, select unit or unit+integration tests.  

usage: ./runtest2.sh [options] [test-name...]

Run a set of tests. Individual tests may be specified on the command
line or in a file specified by -f=FILE, containing one test per line.
Runs all tests by default.

   -h          Show this message
   -f=FILE     Run the tests listed in the FILE
   -u          Only run unit tests. Default is to run 
               unit and integration tests
   -n=N        Run each test N times. Default = 1.
   -s=N        Print N slowest tests
   -H          Print which tests are hanging (if any)
> Testing script to simplfy local testing
> ---------------------------------------
>                 Key: HBASE-4480
>                 URL: https://issues.apache.org/jira/browse/HBASE-4480
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Jesse Yates
>            Priority: Minor
>              Labels: test
>         Attachments: runtest.sh, runtest2.sh
> As mentioned by http://search-hadoop.com/m/r2Ab624ES3e and http://search-hadoop.com/m/cZjDH1ykGIA
it would be nice if we could have a script that would handle more of the finer points of running/checking
our test suite.
> This script should:
> (1) Allow people to determine which tests are hanging/taking a long time to run
> (2) Allow rerunning of particular tests to make sure it wasn't an artifact of running
the whole suite that caused the failure
> (3) Allow people to specify to run just unit tests or also integration tests (essentially
wrapping calls to 'maven test' and 'maven verify').
> This script should just be a convenience script - running tests directly from maven should
not be impacted.

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


View raw message