REOPENED - issue BATCH-825: Modify JobLauncher contract to not throw exception on job failure.
http://jira.springframework.org/browse/BATCH-825 Cleaned up SimpleJob some. There was still some odd looping behavior, so I abstracted into another inner method.
This commit is contained in:
@@ -235,6 +235,7 @@ public class SimpleJobTests extends TestCase {
|
||||
assertEquals(1, jobExecution.getAllFailureExceptions().size());
|
||||
assertEquals(exception, jobExecution.getAllFailureExceptions().get(0));
|
||||
assertEquals(0, list.size());
|
||||
assertEquals(BatchStatus.FAILED, jobExecution.getStatus());
|
||||
checkRepository(BatchStatus.FAILED, ExitStatus.FAILED);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user