[
https://issues.apache.org/jira/browse/TWILL-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14553468#comment-14553468
]
ASF GitHub Bot commented on TWILL-83:
-------------------------------------
Github user chtyim commented on a diff in the pull request:
https://github.com/apache/incubator-twill/pull/33#discussion_r30765727
--- Diff: twill-yarn/src/test/java/org/apache/twill/yarn/BaseYarnTest.java
---
@@ -57,4 +78,25 @@ public final void cleanupTest() {
}
}
}
+
+ public <T> boolean waitForSize(Iterable<T> iterable, int count, int
limit) throws InterruptedException {
--- End diff --
Added.
> 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
> Assignee: Terence Yim
> 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)