You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@twill.apache.org by ch...@apache.org on 2014/07/29 08:56:41 UTC
[2/7] git commit: Longer wait time for the first log.
Longer wait time for the first log.
Project: http://git-wip-us.apache.org/repos/asf/incubator-twill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-twill/commit/bc607242
Tree: http://git-wip-us.apache.org/repos/asf/incubator-twill/tree/bc607242
Diff: http://git-wip-us.apache.org/repos/asf/incubator-twill/diff/bc607242
Branch: refs/heads/feature/travis-build
Commit: bc6072429938acdb0a631306ecedbf8367cfea27
Parents: b75c5b2
Author: Terence Yim <te...@continuuity.com>
Authored: Mon Jul 28 21:49:43 2014 -0700
Committer: Terence Yim <te...@continuuity.com>
Committed: Mon Jul 28 21:49:43 2014 -0700
----------------------------------------------------------------------
.../src/test/java/org/apache/twill/yarn/LogHandlerTestRun.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-twill/blob/bc607242/twill-yarn/src/test/java/org/apache/twill/yarn/LogHandlerTestRun.java
----------------------------------------------------------------------
diff --git a/twill-yarn/src/test/java/org/apache/twill/yarn/LogHandlerTestRun.java b/twill-yarn/src/test/java/org/apache/twill/yarn/LogHandlerTestRun.java
index f5ead6b..a566515 100644
--- a/twill-yarn/src/test/java/org/apache/twill/yarn/LogHandlerTestRun.java
+++ b/twill-yarn/src/test/java/org/apache/twill/yarn/LogHandlerTestRun.java
@@ -69,7 +69,7 @@ public class LogHandlerTestRun extends BaseYarnTest {
.start();
Services.getCompletionFuture(controller).get();
- latch.await(1, TimeUnit.SECONDS);
+ Assert.assertTrue(latch.await(30, TimeUnit.SECONDS));
// Verify the log throwable
Assert.assertEquals(1, throwables.size());