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

Eric Yang commented on YARN-9631:
---------------------------------

To skip all tests:

{code}mvn package -DskipTests{code}

The result would be:

{code}
[INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ 
hadoop-yarn-applications-catalog-webapp ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- jasmine-maven-plugin:2.1:test (default) @ 
hadoop-yarn-applications-catalog-webapp ---
[INFO] Skipping Jasmine Specs
{code}

There is no reason to use -Dtest and -DskipTests parameters together because 
they contradicts each other, and no test will be performed.

> hadoop-yarn-applications-catalog-webapp doesn't respect mvn test -D parameter
> -----------------------------------------------------------------------------
>
>                 Key: YARN-9631
>                 URL: https://issues.apache.org/jira/browse/YARN-9631
>             Project: Hadoop YARN
>          Issue Type: Improvement
>    Affects Versions: 3.3.0
>         Environment:  
>  
>            Reporter: Wei-Chiu Chuang
>            Assignee: Eric Yang
>            Priority: Major
>         Attachments: YARN-9631.001.patch, YARN-9631.002.patch, 
> YARN-9631.003.patch
>
>
> When I run a HDFS test {{mvn test -Dtest=TestMaintenanceState}} from the 
> Hadoop source code root, hadoop-yarn-applications-catalog-webapp doesn't 
> respect the test filter and always runs its tests.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to