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/22 00:56:26 UTC

[jira] [Created] (HBASE-4454) Add failsafe plugin to build and rename integration tests

Add failsafe plugin to build and rename integration tests
---------------------------------------------------------

                 Key: HBASE-4454
                 URL: https://issues.apache.org/jira/browse/HBASE-4454
             Project: HBase
          Issue Type: Improvement
            Reporter: Jesse Yates


Add the maven-failsafe-plugin to the build process so we can run integration tests with "mvn verify". This will also involve a renaming of integration tests to conform to a new integration test regex.

This is a stopgap measure while we until break them out into their own module.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4454) Add failsafe plugin to build and rename integration tests

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

Jesse Yates updated HBASE-4454:
-------------------------------

    Attachment: mvn_HBASE-4454.patch

Patch uploaded to separate out running integration tests.

IntegrationTests must be named as **/IntegrationTest*.java.

They can be run with the command: 'mvn verfy'.

Since verify is part of the standard build phases, under assembly, package, etc, integration tests will be run automatically when doing a full build.

@Stack: should I open up a separate ticket, new patch version, or just add another patch for updating documentation? Do we even need to update the docs for this?

                
> Add failsafe plugin to build and rename integration tests
> ---------------------------------------------------------
>
>                 Key: HBASE-4454
>                 URL: https://issues.apache.org/jira/browse/HBASE-4454
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Jesse Yates
>         Attachments: mvn_HBASE-4454.patch
>
>
> Add the maven-failsafe-plugin to the build process so we can run integration tests with "mvn verify". This will also involve a renaming of integration tests to conform to a new integration test regex.
> This is a stopgap measure while we until break them out into their own module.

--
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-4454) Add failsafe plugin to build and rename integration tests

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

Jesse Yates commented on HBASE-4454:
------------------------------------

This should be a pretty simple switch, pom wise, based on code for HBASE-4336. Most of the work is going to be figuring out which tests need to be moved over.

Hopefully, I'll have a patch up tonight.

> Add failsafe plugin to build and rename integration tests
> ---------------------------------------------------------
>
>                 Key: HBASE-4454
>                 URL: https://issues.apache.org/jira/browse/HBASE-4454
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Jesse Yates
>
> Add the maven-failsafe-plugin to the build process so we can run integration tests with "mvn verify". This will also involve a renaming of integration tests to conform to a new integration test regex.
> This is a stopgap measure while we until break them out into their own module.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4454) Add failsafe plugin to build and rename integration tests

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

Hudson commented on HBASE-4454:
-------------------------------

Integrated in HBase-0.92 #27 (See [https://builds.apache.org/job/HBase-0.92/27/])
    HBASE-4454 Add failsafe plugin to build and rename integration tests

stack : 
Files : 
* /hbase/branches/0.92/CHANGES.txt
* /hbase/branches/0.92/pom.xml

                
> Add failsafe plugin to build and rename integration tests
> ---------------------------------------------------------
>
>                 Key: HBASE-4454
>                 URL: https://issues.apache.org/jira/browse/HBASE-4454
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Jesse Yates
>             Fix For: 0.92.0
>
>         Attachments: mvn_HBASE-4454.patch
>
>
> Add the maven-failsafe-plugin to the build process so we can run integration tests with "mvn verify". This will also involve a renaming of integration tests to conform to a new integration test regex.
> This is a stopgap measure while we until break them out into their own module.

--
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-4454) Add failsafe plugin to build and rename integration tests

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

Hudson commented on HBASE-4454:
-------------------------------

Integrated in HBase-0.92 #42 (See [https://builds.apache.org/job/HBase-0.92/42/])
    HBASE-4531 hbase-4454 failsafe broke mvn site; back it out or fix

                
> Add failsafe plugin to build and rename integration tests
> ---------------------------------------------------------
>
>                 Key: HBASE-4454
>                 URL: https://issues.apache.org/jira/browse/HBASE-4454
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Jesse Yates
>             Fix For: 0.92.0
>
>         Attachments: mvn_HBASE-4454.patch
>
>
> Add the maven-failsafe-plugin to the build process so we can run integration tests with "mvn verify". This will also involve a renaming of integration tests to conform to a new integration test regex.
> This is a stopgap measure while we until break them out into their own module.

--
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] [Assigned] (HBASE-4454) Add failsafe plugin to build and rename integration tests

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

stack reassigned HBASE-4454:
----------------------------

    Assignee: Jesse Yates
    
> Add failsafe plugin to build and rename integration tests
> ---------------------------------------------------------
>
>                 Key: HBASE-4454
>                 URL: https://issues.apache.org/jira/browse/HBASE-4454
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Jesse Yates
>            Assignee: Jesse Yates
>             Fix For: 0.92.0
>
>         Attachments: mvn_HBASE-4454.patch
>
>
> Add the maven-failsafe-plugin to the build process so we can run integration tests with "mvn verify". This will also involve a renaming of integration tests to conform to a new integration test regex.
> This is a stopgap measure while we until break them out into their own module.

--
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-4454) Add failsafe plugin to build and rename integration tests

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

Jesse Yates commented on HBASE-4454:
------------------------------------

Patch up for this at https://reviews.apache.org/r/2022/

> Add failsafe plugin to build and rename integration tests
> ---------------------------------------------------------
>
>                 Key: HBASE-4454
>                 URL: https://issues.apache.org/jira/browse/HBASE-4454
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Jesse Yates
>
> Add the maven-failsafe-plugin to the build process so we can run integration tests with "mvn verify". This will also involve a renaming of integration tests to conform to a new integration test regex.
> This is a stopgap measure while we until break them out into their own module.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HBASE-4454) Add failsafe plugin to build and rename integration tests

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

stack resolved HBASE-4454.
--------------------------

       Resolution: Fixed
    Fix Version/s: 0.92.0
     Hadoop Flags: Reviewed

Committed to 0.92 branch and trunk.  Thanks for the patch Jesse.  I added a bit of doc. to the book -- a new section after the unit test section in developer chapter on 'integration tests'.  See below.

I'm trying to add you as a contributor Jesse so I can assign  you the issue so you can start accumulating credit but they just updated JIRA and I'm having trouble figuring how with the new interface.  I'll figure it eventually....

{code}
        <section xml:id="integration.tests">
          <title>Integration Tests</title>
          <para>HBase 0.92 added a <varname>verify</varname> maven target.  Invocation will
          run a suite of long-running tests via the maven <link xlink:href="http://maven.apache.org/plugins/maven-failsafe-plugin/">failsafe plugin</link>.
          </para>
         </section>
{code}

                
> Add failsafe plugin to build and rename integration tests
> ---------------------------------------------------------
>
>                 Key: HBASE-4454
>                 URL: https://issues.apache.org/jira/browse/HBASE-4454
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Jesse Yates
>             Fix For: 0.92.0
>
>         Attachments: mvn_HBASE-4454.patch
>
>
> Add the maven-failsafe-plugin to the build process so we can run integration tests with "mvn verify". This will also involve a renaming of integration tests to conform to a new integration test regex.
> This is a stopgap measure while we until break them out into their own module.

--
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-4454) Add failsafe plugin to build and rename integration tests

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

Jesse Yates commented on HBASE-4454:
------------------------------------

@stack - no worries, whenever you get around to it. Thanks for updating the book!
                
> Add failsafe plugin to build and rename integration tests
> ---------------------------------------------------------
>
>                 Key: HBASE-4454
>                 URL: https://issues.apache.org/jira/browse/HBASE-4454
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Jesse Yates
>             Fix For: 0.92.0
>
>         Attachments: mvn_HBASE-4454.patch
>
>
> Add the maven-failsafe-plugin to the build process so we can run integration tests with "mvn verify". This will also involve a renaming of integration tests to conform to a new integration test regex.
> This is a stopgap measure while we until break them out into their own module.

--
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-4454) Add failsafe plugin to build and rename integration tests

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

Hudson commented on HBASE-4454:
-------------------------------

Integrated in HBase-0.92 #40 (See [https://builds.apache.org/job/HBase-0.92/40/])
    HBASE-4531 hbase-4454 failsafe broke mvn site; back it out or fix

                
> Add failsafe plugin to build and rename integration tests
> ---------------------------------------------------------
>
>                 Key: HBASE-4454
>                 URL: https://issues.apache.org/jira/browse/HBASE-4454
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Jesse Yates
>             Fix For: 0.92.0
>
>         Attachments: mvn_HBASE-4454.patch
>
>
> Add the maven-failsafe-plugin to the build process so we can run integration tests with "mvn verify". This will also involve a renaming of integration tests to conform to a new integration test regex.
> This is a stopgap measure while we until break them out into their own module.

--
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-4454) Add failsafe plugin to build and rename integration tests

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

Hudson commented on HBASE-4454:
-------------------------------

Integrated in HBase-TRUNK #2267 (See [https://builds.apache.org/job/HBase-TRUNK/2267/])
    HBASE-4454 Add failsafe plugin to build and rename integration tests

stack : 
Files : 
* /hbase/trunk/CHANGES.txt
* /hbase/trunk/pom.xml
* /hbase/trunk/src/docbkx/developer.xml

                
> Add failsafe plugin to build and rename integration tests
> ---------------------------------------------------------
>
>                 Key: HBASE-4454
>                 URL: https://issues.apache.org/jira/browse/HBASE-4454
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Jesse Yates
>             Fix For: 0.92.0
>
>         Attachments: mvn_HBASE-4454.patch
>
>
> Add the maven-failsafe-plugin to the build process so we can run integration tests with "mvn verify". This will also involve a renaming of integration tests to conform to a new integration test regex.
> This is a stopgap measure while we until break them out into their own module.

--
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