BATCH-1572: try to copy more of step execution for rollback

This commit is contained in:
dsyer
2010-09-01 08:05:09 +00:00
parent 9d62761d24
commit 2ac38f6781
6 changed files with 76 additions and 21 deletions

View File

@@ -255,7 +255,7 @@ public class TaskletStepExceptionTests {
taskletStep.execute(stepExecution);
assertEquals(UNKNOWN, stepExecution.getStatus());
Throwable e = stepExecution.getFailureExceptions().get(0);
assertEquals("Expected exception in step execution persistence", e.getMessage());
assertEquals("JobRepository failure forcing exit with unknown status", e.getMessage());
}