Repository: oozie Updated Branches: refs/heads/master 85ee1a268 -> 6d4a9d0ea
Amendment to OOZIE-1879 to increase the test timeout to not fail against Hadoop 2 Project: http://git-wip-us.apache.org/repos/asf/oozie/repo Commit: http://git-wip-us.apache.org/repos/asf/oozie/commit/6d4a9d0e Tree: http://git-wip-us.apache.org/repos/asf/oozie/tree/6d4a9d0e Diff: http://git-wip-us.apache.org/repos/asf/oozie/diff/6d4a9d0e Branch: refs/heads/master Commit: 6d4a9d0ea41ee7135ca4f6bc5ad30e73a712a58a Parents: 85ee1a2 Author: Robert Kanter <[email protected]> Authored: Mon Jun 16 22:18:46 2014 -0700 Committer: Robert Kanter <[email protected]> Committed: Mon Jun 16 22:19:37 2014 -0700 ---------------------------------------------------------------------- .../test/java/org/apache/oozie/command/wf/TestReRunXCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/oozie/blob/6d4a9d0e/core/src/test/java/org/apache/oozie/command/wf/TestReRunXCommand.java ---------------------------------------------------------------------- diff --git a/core/src/test/java/org/apache/oozie/command/wf/TestReRunXCommand.java b/core/src/test/java/org/apache/oozie/command/wf/TestReRunXCommand.java index 5bae614..efd2a7d 100644 --- a/core/src/test/java/org/apache/oozie/command/wf/TestReRunXCommand.java +++ b/core/src/test/java/org/apache/oozie/command/wf/TestReRunXCommand.java @@ -144,7 +144,7 @@ public class TestReRunXCommand extends XDataTestCase { final String jobId1 = wfClient.submit(conf); wfClient.start(jobId1); - waitFor(40 * 1000, new Predicate() { + waitFor(200 * 1000, new Predicate() { @Override public boolean evaluate() throws Exception { return wfClient.getJobInfo(jobId1).getStatus() == WorkflowJob.Status.KILLED; @@ -163,7 +163,7 @@ public class TestReRunXCommand extends XDataTestCase { conf.setProperty("cmd3", "echo"); // expected to succeed wfClient.reRun(jobId1, conf); - waitFor(40 * 1000, new Predicate() { + waitFor(200 * 1000, new Predicate() { @Override public boolean evaluate() throws Exception { return wfClient.getJobInfo(jobId1).getStatus() == WorkflowJob.Status.SUCCEEDED;
