BATCH-365: ItemStream#Update and ItemStream#close now accept an ExecutionContext as an argument. I removed the local ExecutionContexts in the readers and readers, and had them use the passed in ones instead.
This commit is contained in:
@@ -44,7 +44,7 @@ public class FlatFileCustomerCreditWriterTests extends TestCase {
|
||||
public void testClose() throws Exception{
|
||||
|
||||
//set-up outputSource mock
|
||||
output.close();
|
||||
output.close(null);
|
||||
outputControl.replay();
|
||||
|
||||
//call tested method
|
||||
|
||||
@@ -54,7 +54,7 @@ public class StagingItemReaderTests extends AbstractTransactionalDataSourceSprin
|
||||
}
|
||||
|
||||
protected void onTearDownAfterTransaction() throws Exception {
|
||||
provider.close();
|
||||
provider.close(null);
|
||||
getJdbcTemplate().update("DELETE FROM BATCH_STAGING");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user