You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "kalyan kumar kalvagadda (JIRA)" <ji...@apache.org> on 2017/12/11 13:54:00 UTC

[jira] [Comment Edited] (SENTRY-2096) Fail unit tests at end

    [ https://issues.apache.org/jira/browse/SENTRY-2096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16285936#comment-16285936 ] 

kalyan kumar kalvagadda edited comment on SENTRY-2096 at 12/11/17 1:53 PM:
---------------------------------------------------------------------------

[~lina.li]

--fail-at-end is not limited to tests. 
{noformat}
Only fail the build afterwards; allow all non-impacted builds to continue
{noformat}


It is better to use an option an option that is limited to tests. Please look into below option
{noformat}
-Dmaven.test.failure.ignore=true
{noformat}



was (Author: kkalyan):
--fail-at-end is not limited to tests. 
{noformat}
Only fail the build afterwards; allow all non-impacted builds to continue
{noformat}


It is better to use an option an option that is limited to tests. Please look into below option
{noformat}
-Dmaven.test.failure.ignore=true
{noformat}


> Fail unit tests at end
> ----------------------
>
>                 Key: SENTRY-2096
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2096
>             Project: Sentry
>          Issue Type: Task
>          Components: Sentry
>    Affects Versions: 2.1.0
>            Reporter: Na Li
>            Assignee: Na Li
>         Attachments: SENTRY-2096.001.patch
>
>
> Currently, when the unit tests fail in one module, the test stops and report failure. It is better to run tests in all modules and then report all failed tests. So we can fix test failure at once.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)