You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/08/24 16:15:00 UTC

[jira] [Commented] (HADOOP-18419) Don't fail when using -DNoUnitTests

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

ASF GitHub Bot commented on HADOOP-18419:
-----------------------------------------

snmvaughan opened a new pull request, #4801:
URL: https://github.com/apache/hadoop/pull/4801

   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.
   
   - [X] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
   - [ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
   - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)?
   - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, `NOTICE-binary` files?
   
   




> 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
>
> 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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org