[
https://issues.apache.org/jira/browse/TWILL-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14553262#comment-14553262
]
ASF GitHub Bot commented on TWILL-83:
-------------------------------------
GitHub user chtyim opened a pull request:
https://github.com/apache/incubator-twill/pull/33
(TWILL-83) Expose testing utility to help writing twill tests
- Replaced YarnTestUtils with TwillTester to provide better support for
writing test
- Use junit ExternalResource
- Refactor existing twill tests to use TwillTester
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/chtyim/incubator-twill feature/TWILL-83
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-twill/pull/33.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #33
----
commit 1c2105075b7a0b738760df0ab2dab4aa33fb1f13
Author: Terence Yim <[email protected]>
Date: 2015-05-20T22:34:44Z
(TWILL-83) Expose testing utility to help writing twill tests
- Replaced YarnTestUtils with TwillTester to provide better support for
writing test
- Use junit ExternalResource
- Refactor existing twill tests to use TwillTester
----
> distribute YarnTestUtils for easier downstream testing
> ------------------------------------------------------
>
> Key: TWILL-83
> URL: https://issues.apache.org/jira/browse/TWILL-83
> Project: Apache Twill
> Issue Type: Improvement
> Components: yarn
> Reporter: Steve Loughran
> Priority: Minor
> Labels: newbie
> Fix For: 0.6.0-incubating
>
>
> the {{YarnTestUtils}} class hides a lot of the work to get yarn mini clusters
> up and running for tests.
> it would be easier for downstream apps to use it if either the test jar were
> packaged for re-use, or better yet - the class was moved into the main yarn
> source package
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)