falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rostafiyc...@apache.org
Subject git commit: FALCON-747 validateSuccessOnlyStart should use '1' as expected value. Contributed by Ruslan Ostafiychuk
Date Mon, 22 Sep 2014 13:33:23 GMT
Repository: incubator-falcon
Updated Branches:
  refs/heads/master 7540887ae -> 353ececc6


FALCON-747 validateSuccessOnlyStart should use '1' as expected value. Contributed by Ruslan
Ostafiychuk


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

Branch: refs/heads/master
Commit: 353ececc609f11646d76fa4a366b65836a79bd50
Parents: 7540887
Author: Ruslan Ostafiychuk <rostafiychuk@apache.org>
Authored: Mon Sep 22 16:31:09 2014 +0300
Committer: Ruslan Ostafiychuk <rostafiychuk@apache.org>
Committed: Mon Sep 22 16:31:09 2014 +0300

----------------------------------------------------------------------
 falcon-regression/CHANGES.txt                                      | 2 ++
 .../java/org/apache/falcon/regression/core/util/InstanceUtil.java  | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/353ececc/falcon-regression/CHANGES.txt
----------------------------------------------------------------------
diff --git a/falcon-regression/CHANGES.txt b/falcon-regression/CHANGES.txt
index e5c0ad0..946699f 100644
--- a/falcon-regression/CHANGES.txt
+++ b/falcon-regression/CHANGES.txt
@@ -76,6 +76,8 @@ Trunk (Unreleased)
    FALCON-681 delete duplicate feed retention test from falcon regression (SamarthG)
 
   BUG FIXES
+   FALCON-747 validateSuccessOnlyStart should use '1' as expected value (Ruslan Ostafiychuk)
+
    FALCON-737 In NoOutputProcessTest print info before assertion (Raghav Kumar Gautam via
Ruslan Ostafiychuk)
 
    FALCON-736 OneNonCatInputOneHCatOutput test fails because of change in parameter name
(Raghav Kumar Gautam

http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/353ececc/falcon-regression/merlin-core/src/main/java/org/apache/falcon/regression/core/util/InstanceUtil.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/regression/core/util/InstanceUtil.java
b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/regression/core/util/InstanceUtil.java
index ec4801c..a7b4a01 100644
--- a/falcon-regression/merlin-core/src/main/java/org/apache/falcon/regression/core/util/InstanceUtil.java
+++ b/falcon-regression/merlin-core/src/main/java/org/apache/falcon/regression/core/util/InstanceUtil.java
@@ -256,7 +256,7 @@ public final class InstanceUtil {
     public static void validateSuccessOnlyStart(InstancesResult r,
             InstancesResult.WorkflowStatus ws) {
         Assert.assertEquals(r.getStatus(), APIResult.Status.SUCCEEDED);
-        Assert.assertEquals(1, runningInstancesInResult(r, ws));
+        Assert.assertEquals(runningInstancesInResult(r, ws), 1);
     }
 
     /**


Mime
View raw message