RESOLVED - issue BATCH-722: No framework logic should depend on the value of ExitStatus

This commit is contained in:
dsyer
2008-07-13 11:48:41 +00:00
parent cf6a6e34f0
commit 11a84dd267
6 changed files with 55 additions and 25 deletions

View File

@@ -183,7 +183,7 @@ public class StepExecutionMessageHandlerTests {
assertNotNull(message);
assertEquals(1, jobExecution.getStepExecutions().size());
StepExecution stepExecution = (StepExecution) jobExecution.getStepExecutions().iterator().next();
assertEquals(BatchStatus.STARTING, stepExecution.getStatus());
assertEquals(BatchStatus.COMPLETED, stepExecution.getStatus());
// We expect to get the context from the previous execution, even if we
// do not execute
assertTrue(stepExecution.getExecutionContext().containsKey("foo"));