You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Chandni Singh (JIRA)" <ji...@apache.org> on 2018/05/22 21:37:00 UTC

[jira] [Comment Edited] (YARN-8341) Yarn Service: Integration tests

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

Chandni Singh edited comment on YARN-8341 at 5/22/18 9:36 PM:
--------------------------------------------------------------

The mvn additions are in yarn-services-api pom. In order to run the Integration tests
 # cd hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-api
 # mvn failsafe:integration-test -Drm.host=localhost -Duser.name=root


was (Author: csingh):
The mvn additions are in yarn-services-api pom. In order to run the Integration tests
# cd hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-api
# mvn failsafe:integration-test -Drm.host=ctr-e138-1518143905142-80042-01-000002.hwx.site -Duser.name=root

> Yarn Service: Integration tests 
> --------------------------------
>
>                 Key: YARN-8341
>                 URL: https://issues.apache.org/jira/browse/YARN-8341
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Chandni Singh
>            Assignee: Chandni Singh
>            Priority: Major
>         Attachments: YARN-8341.wip.patch
>
>
> In order to test the rest api end-to-end, we can add Integration tests for Yarn service api. 
> The integration tests 
> * belong to junit category {{IntegrationTest}}.
> * will be only run when triggered by executing {{mvn failsafe:integration-test}}
> * the surefire plugin for regular tests excludes {{IntegrationTest}}
> * RM host, user name, and any additional properties which are needed to execute the tests against a cluster can be passed as System properties.
> For eg. {{mvn failsafe:integration-test -Drm.host=localhost -Duser.name=root}}
> We can add more integration tests which can check scalability and performance.
> Have these tests here benefits everyone in the community because anyone can run these tests against there cluster. 
> Attaching a work in progress patch.



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

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