apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjay M Pujare (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APEXMALHAR-2069) FileSplitterInput and TimeBasedDirectoryScanner - move operational fields initialization from constructor to setup
Date Fri, 01 Jul 2016 00:01:33 GMT

    [ 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)

Mime
View raw message