You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hung Huynh (JIRA)" <ji...@codehaus.org> on 2012/11/02 01:51:14 UTC

[jira] (SUREFIRE-920) -Dmaven.test.failure.ignore=true isn't honored

Hung Huynh created SUREFIRE-920:
-----------------------------------

             Summary: -Dmaven.test.failure.ignore=true isn't honored
                 Key: SUREFIRE-920
                 URL: https://jira.codehaus.org/browse/SUREFIRE-920
             Project: Maven Surefire
          Issue Type: Bug
            Reporter: Hung Huynh


I have a multi module project and running the build in jenkins with -Dmaven.test.failure.ignore=true

When one of the module has a failed test, the build fails right at that point instead of ignoring the failure and moving on to run tests in the next module.

I took a look at SurefirePlugin.handleSummary() method it's not checking for isTestFailureIgnore() value. 

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

        

[jira] (SUREFIRE-920) -Dmaven.test.failure.ignore=true isn't honored

Posted by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/SUREFIRE-920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Rosenvold closed SUREFIRE-920.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.13
         Assignee: Kristian Rosenvold

Fixed with IT in 0b27dc20abd2058644eaffe205ec23db73381875. Thanks for the bug report!
                
> -Dmaven.test.failure.ignore=true isn't honored
> ----------------------------------------------
>
>                 Key: SUREFIRE-920
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-920
>             Project: Maven Surefire
>          Issue Type: Bug
>            Reporter: Hung Huynh
>            Assignee: Kristian Rosenvold
>             Fix For: 2.13
>
>
> I have a multi module project and running the build in jenkins with -Dmaven.test.failure.ignore=true
> When one of the module has a failed test, the build fails right at that point instead of ignoring the failure and moving on to run tests in the next module.
> I took a look at SurefirePlugin.handleSummary() method it's not checking for isTestFailureIgnore() value. 

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

        

[jira] (SUREFIRE-920) -Dmaven.test.failure.ignore=true isn't honored

Posted by "Hung Huynh (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/SUREFIRE-920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312789#comment-312789 ] 

Hung Huynh commented on SUREFIRE-920:
-------------------------------------

More specifics: -Dmaven.test.failure.ignore=true isn't checked when a test fails by timing out. If a test fails normally by exception then things work correctly. 
                
> -Dmaven.test.failure.ignore=true isn't honored
> ----------------------------------------------
>
>                 Key: SUREFIRE-920
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-920
>             Project: Maven Surefire
>          Issue Type: Bug
>            Reporter: Hung Huynh
>
> I have a multi module project and running the build in jenkins with -Dmaven.test.failure.ignore=true
> When one of the module has a failed test, the build fails right at that point instead of ignoring the failure and moving on to run tests in the next module.
> I took a look at SurefirePlugin.handleSummary() method it's not checking for isTestFailureIgnore() value. 

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