You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@falcon.apache.org by ra...@apache.org on 2015/07/29 20:08:18 UTC

falcon git commit: FALCON-1338: Fortify ProcessInstanceRerunTest#testProcessInstanceRerunMultipleSucceeded contributed by Paul Isaychuk

Repository: falcon
Updated Branches:
  refs/heads/master f96690006 -> 69a5d4414


FALCON-1338: Fortify ProcessInstanceRerunTest#testProcessInstanceRerunMultipleSucceeded contributed by Paul Isaychuk


Project: http://git-wip-us.apache.org/repos/asf/falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/falcon/commit/69a5d441
Tree: http://git-wip-us.apache.org/repos/asf/falcon/tree/69a5d441
Diff: http://git-wip-us.apache.org/repos/asf/falcon/diff/69a5d441

Branch: refs/heads/master
Commit: 69a5d4414d381d19520f3fa00dc9c6214019b320
Parents: f966900
Author: Raghav Kumar Gautam <ra...@apache.org>
Authored: Wed Jul 29 11:07:57 2015 -0700
Committer: Raghav Kumar Gautam <ra...@apache.org>
Committed: Wed Jul 29 11:07:57 2015 -0700

----------------------------------------------------------------------
 falcon-regression/CHANGES.txt                                  | 2 ++
 .../org/apache/falcon/regression/ProcessInstanceRerunTest.java | 6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/falcon/blob/69a5d441/falcon-regression/CHANGES.txt
----------------------------------------------------------------------
diff --git a/falcon-regression/CHANGES.txt b/falcon-regression/CHANGES.txt
index 8dc8cb7..01b06c1 100644
--- a/falcon-regression/CHANGES.txt
+++ b/falcon-regression/CHANGES.txt
@@ -360,6 +360,8 @@ Trunk (Unreleased)
    FALCON-681 delete duplicate feed retention test from falcon regression (SamarthG)
 
   BUG FIXES
+   FALCON-1338 Fortify ProcessInstanceRerunTest#testProcessInstanceRerunMultipleSucceeded (Paul Isaychuk)
+
    FALCON-1318 Method waitForAngularToFinish() should be robust to unresponsive browser (Raghav Kumar Gautam)
 
    FALCON-1314 Unify handling of local files and directory (Raghav Kumar Gautam)

http://git-wip-us.apache.org/repos/asf/falcon/blob/69a5d441/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/ProcessInstanceRerunTest.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/ProcessInstanceRerunTest.java b/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/ProcessInstanceRerunTest.java
index 57443a8..d5b4ef2 100644
--- a/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/ProcessInstanceRerunTest.java
+++ b/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/ProcessInstanceRerunTest.java
@@ -319,9 +319,9 @@ public class ProcessInstanceRerunTest extends BaseTestClass {
      */
     @Test(groups = {"singleCluster"})
     public void testProcessInstanceRerunMultipleSucceeded() throws Exception {
-        bundles[0].setProcessValidity("2010-01-02T01:00Z", "2010-01-02T01:11Z");
+        bundles[0].setProcessValidity("2010-01-02T01:00Z", "2010-01-02T01:08Z");
         bundles[0].setOutputFeedLocationData(feedOutputPath);
-        bundles[0].setProcessConcurrency(3);
+        bundles[0].setProcessConcurrency(2);
         bundles[0].submitFeedsScheduleProcess(prism);
         InstanceUtil.waitTillInstancesAreCreated(clusterOC, bundles[0].getProcessData(), 0);
         OozieUtil.createMissingDependencies(cluster, EntityType.PROCESS, processName, 0);
@@ -330,7 +330,7 @@ public class ProcessInstanceRerunTest extends BaseTestClass {
         List<String> wfIDs = InstanceUtil.getWorkflows(clusterOC, processName);
         prism.getProcessHelper().getProcessInstanceRerun(processName,
                 start + "&end=2010-01-02T01:11Z&force=true");
-        InstanceUtil.areWorkflowsRunning(clusterOC, wfIDs, 3, 3, 0, 0);
+        InstanceUtil.areWorkflowsRunning(clusterOC, wfIDs, 2, 2, 0, 0);
     }
 
     /**