You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@batchee.apache.org by rm...@apache.org on 2015/03/31 14:58:43 UTC

incubator-batchee git commit: when executing a single step next attribute should be skipped

Repository: incubator-batchee
Updated Branches:
  refs/heads/master 7b7e9e9a2 -> 6d7a20dfc


when executing a single step next attribute should be skipped


Project: http://git-wip-us.apache.org/repos/asf/incubator-batchee/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-batchee/commit/6d7a20df
Tree: http://git-wip-us.apache.org/repos/asf/incubator-batchee/tree/6d7a20df
Diff: http://git-wip-us.apache.org/repos/asf/incubator-batchee/diff/6d7a20df

Branch: refs/heads/master
Commit: 6d7a20dfc14a978c051aef1556962175816fc210
Parents: 7b7e9e9
Author: Romain Manni-Bucau <rm...@apache.org>
Authored: Tue Mar 31 14:58:38 2015 +0200
Committer: Romain Manni-Bucau <rm...@apache.org>
Committed: Tue Mar 31 14:58:38 2015 +0200

----------------------------------------------------------------------
 test/src/main/java/org/apache/batchee/test/StepLauncher.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/6d7a20df/test/src/main/java/org/apache/batchee/test/StepLauncher.java
----------------------------------------------------------------------
diff --git a/test/src/main/java/org/apache/batchee/test/StepLauncher.java b/test/src/main/java/org/apache/batchee/test/StepLauncher.java
index 96f46bf..86f9bcc 100644
--- a/test/src/main/java/org/apache/batchee/test/StepLauncher.java
+++ b/test/src/main/java/org/apache/batchee/test/StepLauncher.java
@@ -57,6 +57,8 @@ public class StepLauncher {
      * @return the job execution
      */
     public static Result exec(final Step step, final Properties jobParams) {
+        step.setNextFromAttribute(null); // don't allow next
+
         // services
         final ServicesManager manager = new ServicesManager();
         manager.init(TEST_PROPERTIES);