fix assertion (see BATCH-1957: WRITTEN_STATISTICS_NAME in execution

context now contains TOTAL number of records written)
This commit is contained in:
jpraet
2013-03-20 20:34:21 +01:00
committed by Michael Minella
parent eb163b7608
commit 215d47182e

View File

@@ -516,8 +516,8 @@ public class FlatFileItemWriterTests {
assertEquals("footer", readLine(encoding));
// 3 lines were written to the file after restart
assertEquals(3, executionContext.getLong(ClassUtils.getShortName(FlatFileItemWriter.class) + ".written"));
// 8 lines were written to the file in total
assertEquals(8, executionContext.getLong(ClassUtils.getShortName(FlatFileItemWriter.class) + ".written"));
}
@Test