nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NIFI-227) Mock Framework needs to allow TestRunner.run indicate whether or not to call @OnScheduled methods
Date Tue, 06 Jan 2015 20:00:35 GMT

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

ASF subversion and git services commented on NIFI-227:
------------------------------------------------------

Commit 142d19a519357577c5cec1e921707bcff15d8df2 in incubator-nifi's branch refs/heads/develop
from [~markap14]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git;h=142d19a ]

NIFI-227: Added a method run(int, boolean, boolean) to TestRunner where the second boolean
indicates whether or not to run Processor methods annoated with @OnScheduled


> 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
>
>         Attachments: NIFI-227.patch.txt
>
>
> 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)

Mime
View raw message