You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Joseph Witt (JIRA)" <ji...@apache.org> on 2015/11/28 23:47:11 UTC

[jira] [Resolved] (NIFI-1220) MockProcessSession#penalize does not update FlowFile version

     [ https://issues.apache.org/jira/browse/NIFI-1220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joseph Witt resolved NIFI-1220.
-------------------------------
    Resolution: Fixed
      Assignee: Joseph Witt

> MockProcessSession#penalize does not update FlowFile version
> ------------------------------------------------------------
>
>                 Key: NIFI-1220
>                 URL: https://issues.apache.org/jira/browse/NIFI-1220
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Johnathan Gilday
>            Assignee: Joseph Witt
>             Fix For: 0.4.0
>
>
> While testing a processor that penalizes a FlowFile, the MockProcessSession#penalize method does not create a new version of that FlowFile. This allows bugs like the following to creep in
> {code:java}
> session.penalize(original);
> session.transfer(original, REL_FAILURE);
> // the call to "transfer" fails in production, passes in the test framework
> {code}



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