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

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

[~jojochuang] Javascript tests can be skipped if there is no matching test case 
filename with -Dtest property by using:
{code}
mvn test -Dtest=TestMaintenanceState
{code}

The resulting output is:
{code}
-------------------------------------------------------
 J A S M I N E   S P E C S
-------------------------------------------------------
[INFO] 

Results: 0 specs, 0 failures, 0 pending
{code}

I don't think -DskipTests option needs to be specified, unless you wish to skip 
all tests.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to