You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jesse Yates (JIRA)" <ji...@apache.org> on 2011/09/25 01:50:26 UTC

[jira] [Created] (HBASE-4480) Testing script to simplfy local testing

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


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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4480) Testing script to simplfy local testing

Posted by "Scott Kuehn (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Kuehn updated HBASE-4480:
-------------------------------

    Attachment: HBASE-4480_v2.patch
    
> 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

        

[jira] [Commented] (HBASE-4480) Testing script to simplfy local testing

Posted by "Scott Kuehn (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115966#comment-13115966 ] 

Scott Kuehn commented on HBASE-4480:
------------------------------------

I'm happy to pick this up, if nobody is working on it.
                
> 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
>
>
> 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

        

[jira] [Commented] (HBASE-4480) Testing script to simplfy local testing

Posted by "Jesse Yates (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123573#comment-13123573 ] 

Jesse Yates commented on HBASE-4480:
------------------------------------

Oh, and also adding an option for running clean before the tests would be nice. Its odd when I go to run a single test (with the top 20 slowest) and it prints out more than 1 result.
                
> 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

        

[jira] [Commented] (HBASE-4480) Testing script to simplfy local testing

Posted by "stack (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115978#comment-13115978 ] 

stack commented on HBASE-4480:
------------------------------

@Jesse Sounds good
                
> 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
>
>
> 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

        

[jira] [Updated] (HBASE-4480) Testing script to simplfy local testing

Posted by "Ted Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-4480:
--------------------------

    Attachment: runtest.sh

Script that runs multiple tests repeatedly.
Sample usage:
{code}
./runtest.sh 1 TestOperation TestAttributes
{code}
                
> 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
>
>
> 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

        

[jira] [Updated] (HBASE-4480) Testing script to simplfy local testing

Posted by "Scott Kuehn (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Kuehn updated HBASE-4480:
-------------------------------

    Attachment: runtest2.sh
    
> 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

        

[jira] [Commented] (HBASE-4480) Testing script to simplfy local testing

Posted by "ramkrishna.s.vasudevan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122574#comment-13122574 ] 

ramkrishna.s.vasudevan commented on HBASE-4480:
-----------------------------------------------

@Scott
Nice one.  Thanks a lot.
                
> 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

        

[jira] [Commented] (HBASE-4480) Testing script to simplfy local testing

Posted by "Scott Kuehn (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13124700#comment-13124700 ] 

Scott Kuehn commented on HBASE-4480:
------------------------------------

@Ram - fixed an issue where empty lines in the test file would be interpreted as -Dtest='', and thus triggering a full mvn test run.  This might have fixed the prob you encountered w/running all tests. v3 patch posted.
                
> 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, HBASE-4480_v3.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

        

[jira] [Commented] (HBASE-4480) Testing script to simplfy local testing

Posted by "Jesse Yates (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115975#comment-13115975 ] 

Jesse Yates commented on HBASE-4480:
------------------------------------

@stack - I was thinking this script would be incorporated into a bigger script that we would run for testing.

@Scott - I'm fine if you want to do the bigger script.
                
> 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
>
>
> 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

        

[jira] [Commented] (HBASE-4480) Testing script to simplfy local testing

Posted by "ramkrishna.s.vasudevan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13124157#comment-13124157 ] 

ramkrishna.s.vasudevan commented on HBASE-4480:
-----------------------------------------------

Thanks Scott
Is the package name needed for the testcases that needs to be run.  Can you make this clear in the script? 
But when i try to run it is not reading from the file but it is running all the testcases. May be i need to check once again.
                
> 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

        

[jira] [Commented] (HBASE-4480) Testing script to simplify local testing

Posted by "Scott Kuehn (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142802#comment-13142802 ] 

Scott Kuehn commented on HBASE-4480:
------------------------------------

@stack The script has been improved and tested quite a bit, so I think it's good to go. 

Note: just uploaded HBASE-4480_v4.patch, which had a small bug fix, and clarification about how to specify test names. 
                
> Testing script to simplify local testing
> ----------------------------------------
>
>                 Key: HBASE-4480
>                 URL: https://issues.apache.org/jira/browse/HBASE-4480
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.90.4
>            Reporter: Jesse Yates
>            Priority: Minor
>              Labels: test
>         Attachments: HBASE-4480.patch, HBASE-4480_v2.patch, HBASE-4480_v3.patch, HBASE-4480_v4.patch, runtest-no-npe-check.sh, 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

        

[jira] [Commented] (HBASE-4480) Testing script to simplfy local testing

Posted by "Scott Kuehn (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13124173#comment-13124173 ] 

Scott Kuehn commented on HBASE-4480:
------------------------------------

I've always used the full package name, which is how I typically invoke mvn -Dtest='testname' from the command line.  I'll update the docs to mention this.  

Also, when I tried running with only the test class name ('TestCompare' instead of 'org.apache.hadoop.hbase.TestCompare), I encountered the issue you mentioned, where all tests were run.  I'm not sure why this is the case, and I'll take a closer look this evening.
                
> 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

        

[jira] [Updated] (HBASE-4480) Testing script to simplfy local testing

Posted by "Ted Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-4480:
--------------------------

    Attachment:     (was: runtest.sh)
    
> 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, HBASE-4480_v3.patch, 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

        

[jira] [Updated] (HBASE-4480) Testing script to simplfy local testing

Posted by "Ted Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-4480:
--------------------------

    Attachment: runtest.sh

Corrected a typo in previous script.
Also log the number of iterations at which the failure occurs.
                
> 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
>
>
> 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

        

[jira] [Commented] (HBASE-4480) Testing script to simplify local testing

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183933#comment-13183933 ] 

Hudson commented on HBASE-4480:
-------------------------------

Integrated in HBase-TRUNK-security #72 (See [https://builds.apache.org/job/HBase-TRUNK-security/72/])
    HBASE-5173 Commit hbase-4480 findHangingTest.sh script under dev-support

                
> Testing script to simplify local testing
> ----------------------------------------
>
>                 Key: HBASE-4480
>                 URL: https://issues.apache.org/jira/browse/HBASE-4480
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.90.4
>            Reporter: Jesse Yates
>            Priority: Minor
>              Labels: test
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4480.patch, HBASE-4480_v2.patch, HBASE-4480_v3.patch, HBASE-4480_v4.patch, findHangingTest.sh, runtest-no-npe-check.sh, 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

        

[jira] [Updated] (HBASE-4480) Testing script to simplify local testing

Posted by "stack (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-4480:
-------------------------

       Resolution: Fixed
    Fix Version/s: 0.94.0
     Release Note: Script to run a set of hbase tests.  Run ./src/test/bin/test-util.sh -h to see usage.
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)
    
> Testing script to simplify local testing
> ----------------------------------------
>
>                 Key: HBASE-4480
>                 URL: https://issues.apache.org/jira/browse/HBASE-4480
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.90.4
>            Reporter: Jesse Yates
>            Priority: Minor
>              Labels: test
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4480.patch, HBASE-4480_v2.patch, HBASE-4480_v3.patch, HBASE-4480_v4.patch, runtest-no-npe-check.sh, 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

        

[jira] [Commented] (HBASE-4480) Testing script to simplify local testing

Posted by "stack (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142795#comment-13142795 ] 

stack commented on HBASE-4480:
------------------------------

@Scott Do you think we should check it in?  (Thanks for fixing usage)
                
> Testing script to simplify 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, HBASE-4480_v3.patch, HBASE-4480_v4.patch, runtest-no-npe-check.sh, 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

        

[jira] [Updated] (HBASE-4480) Testing script to simplify local testing

Posted by "Scott Kuehn (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Kuehn updated HBASE-4480:
-------------------------------

    Affects Version/s: 0.90.4
               Status: Patch Available  (was: Open)

Testing script to simplify local testing
                
> Testing script to simplify local testing
> ----------------------------------------
>
>                 Key: HBASE-4480
>                 URL: https://issues.apache.org/jira/browse/HBASE-4480
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.90.4
>            Reporter: Jesse Yates
>            Priority: Minor
>              Labels: test
>         Attachments: HBASE-4480.patch, HBASE-4480_v2.patch, HBASE-4480_v3.patch, HBASE-4480_v4.patch, runtest-no-npe-check.sh, 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

        

[jira] [Commented] (HBASE-4480) Testing script to simplify local testing

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142855#comment-13142855 ] 

Hadoop QA commented on HBASE-4480:
----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12502093/HBASE-4480_v4.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 2 new or modified tests.

    -1 javadoc.  The javadoc tool appears to have generated -164 warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    -1 findbugs.  The patch appears to introduce 46 new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

     -1 core tests.  The patch failed these unit tests:
                       org.apache.hadoop.hbase.master.TestDistributedLogSplitting
                  org.apache.hadoop.hbase.master.TestMasterFailover
                  org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/149//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/149//artifact/trunk/patchprocess/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/149//console

This message is automatically generated.
                
> Testing script to simplify local testing
> ----------------------------------------
>
>                 Key: HBASE-4480
>                 URL: https://issues.apache.org/jira/browse/HBASE-4480
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.90.4
>            Reporter: Jesse Yates
>            Priority: Minor
>              Labels: test
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4480.patch, HBASE-4480_v2.patch, HBASE-4480_v3.patch, HBASE-4480_v4.patch, runtest-no-npe-check.sh, 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

        

[jira] [Updated] (HBASE-4480) Testing script to simplfy local testing

Posted by "Ted Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-4480:
--------------------------

    Attachment: runtest-no-npe-check.sh
    
> 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, HBASE-4480_v3.patch, runtest-no-npe-check.sh, 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

        

[jira] [Commented] (HBASE-4480) Testing script to simplfy local testing

Posted by "ramkrishna.s.vasudevan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13124027#comment-13124027 ] 

ramkrishna.s.vasudevan commented on HBASE-4480:
-----------------------------------------------

@Jesse/Scott
How should the file name passed for running the specified testcases? Could you provide a sample.

                
> 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

        

[jira] [Commented] (HBASE-4480) Testing script to simplify local testing

Posted by "stack (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142242#comment-13142242 ] 

stack commented on HBASE-4480:
------------------------------

I like this script.  We should check it in under new 'dev-support' dir?  The usage is a bit off.  It says '-n=N' when I think it means to say '-n N'
                
> Testing script to simplify 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, HBASE-4480_v3.patch, runtest-no-npe-check.sh, 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

        

[jira] [Commented] (HBASE-4480) Testing script to simplfy local testing

Posted by "Jesse Yates (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123570#comment-13123570 ] 

Jesse Yates commented on HBASE-4480:
------------------------------------

nitpick: I would prefer the options be labeled in the help as something like '-f FILE' rather than '-f=FILE' - it feels more clear.

If you could put together an actual patch and update the docs that we can actually push into the code base, that would be great.
                
> 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

        

[jira] [Commented] (HBASE-4480) Testing script to simplify local testing

Posted by "stack (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142816#comment-13142816 ] 

stack commented on HBASE-4480:
------------------------------

Committed to TRUNK.  Thanks for the patch Scott.
                
> Testing script to simplify local testing
> ----------------------------------------
>
>                 Key: HBASE-4480
>                 URL: https://issues.apache.org/jira/browse/HBASE-4480
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.90.4
>            Reporter: Jesse Yates
>            Priority: Minor
>              Labels: test
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4480.patch, HBASE-4480_v2.patch, HBASE-4480_v3.patch, HBASE-4480_v4.patch, runtest-no-npe-check.sh, 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

        

[jira] [Updated] (HBASE-4480) Testing script to simplfy local testing

Posted by "Ted Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-4480:
--------------------------

    Attachment: runtest.sh

Modified script searches for NPE in test output and bails if NPE is found
                
> 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, HBASE-4480_v3.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

        

[jira] [Commented] (HBASE-4480) Testing script to simplfy local testing

Posted by "Jesse Yates (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123629#comment-13123629 ] 

Jesse Yates commented on HBASE-4480:
------------------------------------

@Scott good stuff.

nitpick: if I'm doing a clean, it should run 'mvn clean test' rather than running 'mvn clean' and then 'mvn test'
                
> 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, 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

        

[jira] [Commented] (HBASE-4480) Testing script to simplify local testing

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142873#comment-13142873 ] 

Hudson commented on HBASE-4480:
-------------------------------

Integrated in HBase-TRUNK #2405 (See [https://builds.apache.org/job/HBase-TRUNK/2405/])
    HBASE-4480 Testing script to simplify local testing
HBASE-4480 Testing script to simplify local testing

stack : 
Files : 
* /hbase/trunk/src/test/bin
* /hbase/trunk/src/test/bin/test-util.sh

stack : 
Files : 
* /hbase/trunk/CHANGES.txt

                
> Testing script to simplify local testing
> ----------------------------------------
>
>                 Key: HBASE-4480
>                 URL: https://issues.apache.org/jira/browse/HBASE-4480
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.90.4
>            Reporter: Jesse Yates
>            Priority: Minor
>              Labels: test
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4480.patch, HBASE-4480_v2.patch, HBASE-4480_v3.patch, HBASE-4480_v4.patch, runtest-no-npe-check.sh, 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

        

[jira] [Updated] (HBASE-4480) Testing script to simplify local testing

Posted by "Scott Kuehn (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Kuehn updated HBASE-4480:
-------------------------------

    Attachment: HBASE-4480_v4.patch
    
> Testing script to simplify 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, HBASE-4480_v3.patch, HBASE-4480_v4.patch, runtest-no-npe-check.sh, 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

        

[jira] [Commented] (HBASE-4480) Testing script to simplify local testing

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183977#comment-13183977 ] 

Hudson commented on HBASE-4480:
-------------------------------

Integrated in HBase-TRUNK #2617 (See [https://builds.apache.org/job/HBase-TRUNK/2617/])
    HBASE-5173 Commit hbase-4480 findHangingTest.sh script under dev-support

                
> Testing script to simplify local testing
> ----------------------------------------
>
>                 Key: HBASE-4480
>                 URL: https://issues.apache.org/jira/browse/HBASE-4480
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.90.4
>            Reporter: Jesse Yates
>            Priority: Minor
>              Labels: test
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4480.patch, HBASE-4480_v2.patch, HBASE-4480_v3.patch, HBASE-4480_v4.patch, findHangingTest.sh, runtest-no-npe-check.sh, 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

        

[jira] [Updated] (HBASE-4480) Testing script to simplify local testing

Posted by "Zhihong Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhihong Yu updated HBASE-4480:
------------------------------

    Attachment: findHangingTest.sh

usage: ./findHangingTest.sh <url of Jenkins build console>
                
> Testing script to simplify local testing
> ----------------------------------------
>
>                 Key: HBASE-4480
>                 URL: https://issues.apache.org/jira/browse/HBASE-4480
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.90.4
>            Reporter: Jesse Yates
>            Priority: Minor
>              Labels: test
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4480.patch, HBASE-4480_v2.patch, HBASE-4480_v3.patch, HBASE-4480_v4.patch, findHangingTest.sh, runtest-no-npe-check.sh, 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

        

[jira] [Commented] (HBASE-4480) Testing script to simplfy local testing

Posted by "Jesse Yates (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122475#comment-13122475 ] 

Jesse Yates commented on HBASE-4480:
------------------------------------

@Scott - awesome, thanks! I'm gonna go play with it tonight.
                
> 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

        

[jira] [Commented] (HBASE-4480) Testing script to simplfy local testing

Posted by "Scott Kuehn (Commented) (JIRA)" <ji...@apache.org>.
    [ 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:
{code}
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.

options:
   -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)
{code}
                
> 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

        

[jira] [Commented] (HBASE-4480) Testing script to simplfy local testing

Posted by "Scott Kuehn (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123626#comment-13123626 ] 

Scott Kuehn commented on HBASE-4480:
------------------------------------

@Jesse - done.  Three fixes/improvements to the latest script:
- the -s option only reports duration of tests that were run (ignores stale surefire files)
- added -c option for cleaning prior to test running. this will just force a 'mvn clean'
- more robust path management
                
> 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, 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

        

[jira] [Commented] (HBASE-4480) Testing script to simplfy local testing

Posted by "stack (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115972#comment-13115972 ] 

stack commented on HBASE-4480:
------------------------------

@Ted You want to check this in?  Where?  Into src/test/bin?
                
> 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
>
>
> 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

        

[jira] [Commented] (HBASE-4480) Testing script to simplfy local testing

Posted by "Scott Kuehn (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Commented] (HBASE-4480) Testing script to simplfy local testing

Posted by "Scott Kuehn (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123632#comment-13123632 ] 

Scott Kuehn commented on HBASE-4480:
------------------------------------

@Jesse - uploaded a v2 of the patch with this change
                
> 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

        

[jira] [Updated] (HBASE-4480) Testing script to simplfy local testing

Posted by "Scott Kuehn (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Kuehn updated HBASE-4480:
-------------------------------

    Attachment: HBASE-4480.patch
    
> 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, 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

        

[jira] [Updated] (HBASE-4480) Testing script to simplify local testing

Posted by "Eugene Koontz (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eugene Koontz updated HBASE-4480:
---------------------------------

    Summary: Testing script to simplify local testing  (was: Testing script to simplfy local testing)
    
> Testing script to simplify 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, HBASE-4480_v3.patch, runtest-no-npe-check.sh, 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

        

[jira] [Updated] (HBASE-4480) Testing script to simplfy local testing

Posted by "Ted Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-4480:
--------------------------

    Attachment:     (was: runtest.sh)
    
> 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
>
> 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

        

[jira] [Updated] (HBASE-4480) Testing script to simplfy local testing

Posted by "Scott Kuehn (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Kuehn updated HBASE-4480:
-------------------------------

    Attachment: HBASE-4480_v3.patch
    
> 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, HBASE-4480_v3.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