You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Matt Gilman (JIRA)" <ji...@apache.org> on 2014/12/08 14:49:12 UTC

[jira] [Created] (NIFI-126) Mock Framework should detect when session.create() called instead of session.create(FlowFile) / session.create(Collection) without emitting CREATE/RECEIVE Provenance Event

Matt Gilman created NIFI-126:
--------------------------------

             Summary: 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
            Priority: Minor


In this case, the mock framework should throw AssertionError, indicating that session.create() was called but not 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)