RESOLVED - BATCH-593: Calling update before read on DrivingQueryItemReader causes ArrayIndexOutOfBoundsError

fixed bug and tested the scenario for all ItemReaders
This commit is contained in:
robokaso
2008-04-21 08:05:43 +00:00
parent b0fb4167dc
commit 90df52ac55
2 changed files with 22 additions and 19 deletions

View File

@@ -37,6 +37,8 @@ public abstract class CommonItemStreamItemReaderTests extends CommonItemReaderTe
*/
public void testRestart() throws Exception {
testedAsStream().update(executionContext);
Foo foo1 = (Foo) tested.read();
assertEquals(1, foo1.getValue());