BATCH-1620: fix bugs in TX aware proxy

This commit is contained in:
dsyer
2010-09-04 10:37:41 +00:00
parent 939d9a1914
commit 48ce91f5d0
5 changed files with 12 additions and 8 deletions

View File

@@ -368,7 +368,7 @@ public class TaskletStepTests {
step.execute(stepExecution);
Throwable e = stepExecution.getFailureExceptions().get(0);
assertEquals("foo", e.getMessage());
assertEquals("foo", e.getCause().getMessage());
assertEquals(BatchStatus.UNKNOWN, stepExecution.getStatus());
}