[ 
https://issues.apache.org/jira/browse/APEXMALHAR-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15358074#comment-15358074
 ] 

Sanjay M Pujare commented on APEXMALHAR-2069:
---------------------------------------------

[~csingh] Can you comment on how we can redesign the tests after this change? 
The failing tests are:

  
FileSplitterInputTest.testFirstWindowAfterRecovery:353->testIdempotencyWithBlocksThreshold:336
 
  FileSplitterInputTest.testIdempotency:231 » Runtime multiple calls to setup() 
...
  FileSplitterInputTest.testIdempotencyWithBlocksThreshold:336 » Runtime 
multipl...
  FileSplitterInputTest.testRecoveryOfBlockMetadataIterator:517 » Runtime 
multip...

> FileSplitterInput and TimeBasedDirectoryScanner - move operational fields 
> initialization from constructor to setup
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: APEXMALHAR-2069
>                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-2069
>             Project: Apache Apex Malhar
>          Issue Type: Improvement
>            Reporter: Vlad Rozov
>
> For example, there is no need for scanService to be initialized in the 
> constructor. It should be done during operator setup().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to