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:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user