You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@falcon.apache.org by ro...@apache.org on 2014/09/14 13:44:29 UTC
[2/3] git commit: FALCON-715 "end" parameter should be greater than
last instances startTime. Contributed by Ruslan Ostafiychuk
FALCON-715 "end" parameter should be greater than last instances startTime. 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/a6173050
Tree: http://git-wip-us.apache.org/repos/asf/incubator-falcon/tree/a6173050
Diff: http://git-wip-us.apache.org/repos/asf/incubator-falcon/diff/a6173050
Branch: refs/heads/master
Commit: a617305086c962f900eb3e3c491ba2aaf6f425f2
Parents: 2094e6d
Author: Ruslan Ostafiychuk <ro...@apache.org>
Authored: Sun Sep 14 14:35:22 2014 +0300
Committer: Ruslan Ostafiychuk <ro...@apache.org>
Committed: Sun Sep 14 14:35:22 2014 +0300
----------------------------------------------------------------------
falcon-regression/CHANGES.txt | 2 ++
.../falcon/regression/ProcessInstanceKillsTest.java | 6 +++---
.../falcon/regression/ProcessInstanceSuspendTest.java | 10 +++++-----
3 files changed, 10 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a6173050/falcon-regression/CHANGES.txt
----------------------------------------------------------------------
diff --git a/falcon-regression/CHANGES.txt b/falcon-regression/CHANGES.txt
index 9dc2590..5fe65c2 100644
--- a/falcon-regression/CHANGES.txt
+++ b/falcon-regression/CHANGES.txt
@@ -64,6 +64,8 @@ Trunk (Unreleased)
FALCON-681 delete duplicate feed retention test from falcon regression (SamarthG)
BUG FIXES
+ FALCON-715 "end" parameter should be greater than last instances startTime (Ruslan Ostafiychuk)
+
FALCON-716 PrismFeedSuspendTest tests retagged as distributed (Ruslan Ostafiychuk)
FALCON-713 UpdateAtSpecificTimeTest#updateTimeInPast_Feed should submitAndSchedule feed rather
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a6173050/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/ProcessInstanceKillsTest.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/ProcessInstanceKillsTest.java b/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/ProcessInstanceKillsTest.java
index 7b938ec..9b8eb30 100644
--- a/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/ProcessInstanceKillsTest.java
+++ b/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/ProcessInstanceKillsTest.java
@@ -222,10 +222,10 @@ public class ProcessInstanceKillsTest extends BaseTestClass {
bundles[0].submitFeedsScheduleProcess(prism);
TimeUtil.sleepSeconds(TIMEOUT);
prism.getProcessHelper()
- .getProcessInstanceKill(processName, "?start=2010-01-02T01:05Z&end=2010-01-02T01:15Z");
+ .getProcessInstanceKill(processName, "?start=2010-01-02T01:05Z&end=2010-01-02T01:16Z");
TimeUtil.sleepSeconds(TIMEOUT);
InstancesResult r = prism.getProcessHelper().getProcessInstanceStatus(processName,
- "?start=2010-01-02T01:00Z&end=2010-01-02T01:20Z");
+ "?start=2010-01-02T01:00Z&end=2010-01-02T01:21Z");
InstanceUtil.validateResponse(r, 5, 2, 0, 0, 3);
}
@@ -244,7 +244,7 @@ public class ProcessInstanceKillsTest extends BaseTestClass {
prism.getProcessHelper().getProcessInstanceKill(processName, "?start=2010-01-02T01:20Z");
TimeUtil.sleepSeconds(TIMEOUT);
InstancesResult r = prism.getProcessHelper().getProcessInstanceStatus(processName,
- "?start=2010-01-02T01:00Z&end=2010-01-02T01:20Z");
+ "?start=2010-01-02T01:00Z&end=2010-01-02T01:21Z");
InstanceUtil.validateResponse(r, 5, 4, 0, 0, 1);
}
http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/a6173050/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/ProcessInstanceSuspendTest.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/ProcessInstanceSuspendTest.java b/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/ProcessInstanceSuspendTest.java
index 32759a0..b0739e6 100644
--- a/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/ProcessInstanceSuspendTest.java
+++ b/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/ProcessInstanceSuspendTest.java
@@ -157,12 +157,12 @@ public class ProcessInstanceSuspendTest extends BaseTestClass {
AssertUtil.checkStatus(clusterOC, EntityType.PROCESS, bundles[0].getProcessData(),
Job.Status.RUNNING);
InstancesResult result = prism.getProcessHelper().getProcessInstanceStatus(processName,
- "?start=2010-01-02T01:00Z&end=2010-01-02T01:20Z");
+ "?start=2010-01-02T01:00Z&end=2010-01-02T01:21Z");
InstanceUtil.validateResponse(result, 5, 5, 0, 0, 0);
prism.getProcessHelper().getProcessInstanceSuspend(processName,
- "?start=2010-01-02T01:00Z&end=2010-01-02T01:20Z");
+ "?start=2010-01-02T01:00Z&end=2010-01-02T01:21Z");
result = prism.getProcessHelper().getProcessInstanceStatus(processName,
- "?start=2010-01-02T01:00Z&end=2010-01-02T01:20Z");
+ "?start=2010-01-02T01:00Z&end=2010-01-02T01:21Z");
InstanceUtil.validateResponse(result, 5, 0, 5, 0, 0);
}
@@ -263,11 +263,11 @@ public class ProcessInstanceSuspendTest extends BaseTestClass {
AssertUtil.checkStatus(clusterOC, EntityType.PROCESS, bundles[0].getProcessData(),
Job.Status.RUNNING);
InstancesResult result = prism.getProcessHelper().getProcessInstanceStatus(processName,
- "?start=2010-01-02T01:00Z&end=2010-01-02T01:20Z");
+ "?start=2010-01-02T01:00Z&end=2010-01-02T01:21Z");
InstanceUtil.validateResponse(result, 5, 5, 0, 0, 0);
prism.getProcessHelper().getProcessInstanceSuspend(processName, "?start=2010-01-02T01:20Z");
result = prism.getProcessHelper().getProcessInstanceStatus(processName,
- "?start=2010-01-02T01:00Z&end=2010-01-02T01:20Z");
+ "?start=2010-01-02T01:00Z&end=2010-01-02T01:21Z");
InstanceUtil.validateResponse(result, 5, 4, 1, 0, 0);
}