You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Mark Payne (JIRA)" <ji...@apache.org> on 2015/01/06 19:09:34 UTC

[jira] [Created] (NIFI-227) Mock Framework needs to allow TestRunner.run indicate whether or not to call @OnScheduled methods

Mark Payne created NIFI-227:
-------------------------------

             Summary: Mock Framework needs to allow TestRunner.run indicate whether or not to call @OnScheduled methods
                 Key: NIFI-227
                 URL: https://issues.apache.org/jira/browse/NIFI-227
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Tools and Build
    Affects Versions: 0.0.1
            Reporter: Mark Payne
             Fix For: 0.0.1


Currently, each time TestRunner#run is called, all methods in the Processor with an @OnScheduled annotation get called. This cannot be avoided. This can cause a lot of problems in some cases, though. Need to be able call TestRunner#run without it invoking @OnScheduled methods.



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