[
https://issues.apache.org/jira/browse/HADOOP-18419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17584424#comment-17584424
]
ASF GitHub Bot commented on HADOOP-18419:
-----------------------------------------
ayushtkn commented on PR #4801:
URL: https://github.com/apache/hadoop/pull/4801#issuecomment-1226118985
@snmvaughan if you see I had a PR as well there on the jira along with that
comment where I flagged the issue, #4800
And I feel that is better approach, this hadoop.sh will only sort things for
our Jenkins jobs. I would prefer to go with that approach only
> 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]