Github user chtyim commented on a diff in the pull request:

    https://github.com/apache/incubator-twill/pull/33#discussion_r30765518
  
    --- Diff: twill-yarn/src/test/java/org/apache/twill/yarn/TwillTester.java 
---
    @@ -37,67 +38,61 @@
     import java.io.File;
     import java.io.IOException;
     import java.util.List;
    -import java.util.concurrent.TimeUnit;
    -import java.util.concurrent.atomic.AtomicBoolean;
     
     /**
    - * Utilities for testing YARN.
    + * A TwillTester rule allows creation of mini Yarn cluster and {@link 
TwillRunner} used for testing that is
    + * guaranteed to be teared down when tests are done.
    + *
    + * <pre>
    + *   public class TwillTest {
    + *     &#064;ClassRule
    + *     public static final TwillTester TWILL_TESTER = new TwillTester();
    + *
    + *     &#064;Test
    + *     public void test() {
    + *       TwillRunner twillRunner = TWILL_TESTER.getTwillRunner();
    + *       twillRunner.prepare(...).start();
    + *     }
    + *   }
    + * </pre>
      */
    -public final class YarnTestUtils {
    --- End diff --
    
    It's in the test src and currently we are not publishing the test-jar. I 
don't think there is a way to use it except inside twill-yarn module.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to