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

Steve Loughran commented on HADOOP-18419:
-----------------------------------------

if surefire.failIfNoSpecifiedTests is now true and you can't use 
-Dtest=something that's a regression

i'm worried about the mvn verify phase; i need to be able to run the failsafe 
tests without surefire blowing up or trying to run all the unit tests

> Don't fail when using -DNoUnitTests
> -----------------------------------
>
>                 Key: HADOOP-18419
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18419
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.4.0
>            Reporter: Steve Vaughan
>            Assignee: Steve Vaughan
>            Priority: Critical
>              Labels: pull-request-available
>
> There are commands in hadoop.sh that use -Dtest=NoUnitTests.  I believe this 
> is intended to replace -DskipTest, by not matching any tests.  This causes an 
> issue since the default for surefire.failIfNoSpecifiedTests is true.
> Updating those commands to override the default will address the issue.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to