[
https://issues.apache.org/jira/browse/NIFI-5055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16431641#comment-16431641
]
ASF GitHub Bot commented on NIFI-5055:
--------------------------------------
Github user markobean commented on the issue:
https://github.com/apache/nifi/pull/2617
Updated to use assertTrue and assertFalse. I had simply borrowed
assertEquals from the previous unit test. So, while updating, I updated that
test to use assertTrue as well. Commit, squashed and pushed.
> Need ability to un-penalize MockFlowFile
> ----------------------------------------
>
> Key: NIFI-5055
> URL: https://issues.apache.org/jira/browse/NIFI-5055
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Affects Versions: 1.6.0
> Reporter: Mark Bean
> Assignee: Mark Bean
> Priority: Major
>
> The MockFlowFile has a method setPenalized() which sets the 'penalized'
> variable to true. And, the isPenalized() method simply returns the value of
> 'penalized'. (In the real world, isPenalized() is time-based.) I believe an
> unsetPenalized() method may be needed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)