nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Gilman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (NIFI-126) Mock Framework should detect when session.create() called instead of session.create(FlowFile) / session.create(Collection<FlowFile>) without emitting CREATE/RECEIVE Provenance Event
Date Mon, 08 Dec 2014 13:49:12 GMT
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)

Mime
View raw message