[ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13124142#comment-13124142 ]
Scott Kuehn commented on HBASE-4480: ------------------------------------ Specify the filename as the option arg to -f, for example: {code} src/test/bin/test-util.sh -f tests.txt org.apache.hadoop.hbase.client.TestGet {code} If the file tests.txt contains the following: {code} org.apache.hadoop.hbase.TestCompare org.apache.hadoop.hbase.client.replication.TestReplicationAdmin {code} The three tests will be executed: org.apache.hadoop.hbase.TestCompare, org.apache.hadoop.hbase.client.replication.TestReplicationAdmin, and org.apache.hadoop.hbase.client.TestGet If you run: {code} src/test/bin/test-util.sh -f tests.txt {code} The two tests in tests.txt will be executed: org.apache.hadoop.hbase.TestCompare, org.apache.hadoop.hbase.client.replication.TestReplicationAdmin > 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: HBASE-4480.patch, HBASE-4480_v2.patch, 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