RESOLVED - issue BATCH-303: Replace repeat contexts in core domain with boolean flag that can be checked by executors
http://jira.springframework.org/browse/BATCH-303 Add test for step executions registered with job execution
This commit is contained in:
@@ -177,9 +177,9 @@ public class DefaultJobExecutorTests extends TestCase {
|
||||
}
|
||||
|
||||
public void testExecutionContextIsSet() throws Exception {
|
||||
|
||||
testRunNormally();
|
||||
assertEquals(job, jobExecution.getJobInstance());
|
||||
assertEquals(2, jobExecution.getStepExecutions().size());
|
||||
assertEquals(step1, stepExecution1.getStep());
|
||||
assertEquals(step2, stepExecution2.getStep());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user