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

Matt Gilman commented on NIFI-126:
----------------------------------

With the framework ensuring a CREATE event is generated automatically, this 
ticket is OBE.

> Mock Framework should detect when session.create() called instead of 
> session.create(FlowFile) / session.create(Collection<FlowFile>) without 
> emitting CREATE/RECEIVE Provenance Event
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-126
>                 URL: https://issues.apache.org/jira/browse/NIFI-126
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Matt Gilman
>            Assignee: Mark Payne
>            Priority: Minor
>             Fix For: 0.2.0
>
>
> In this case, the mock framework should throw AssertionError, indicating that 
> session.create() was called but no CREATE/RECEIVE event was genrated.
> It is important that the Mock Framework also allow this check to be disabled, 
> for processors such as MergeContent (and should indicate in the failure 
> message how to disable).



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

Reply via email to