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

ASF subversion and git services commented on NIFI-14276:
--------------------------------------------------------

Commit cbd4d676a4285c357197f0ca79b66e4e6fe8d391 in nifi's branch 
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=cbd4d676a4 ]

NIFI-14276 Added clearQueue method to TestRunner interface (#9768)

Signed-off-by: David Handermann <[email protected]>

> TestRunner does not have a clearQueue method while its only implementation 
> StandardProcessorTestRunner does
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-14276
>                 URL: https://issues.apache.org/jira/browse/NIFI-14276
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> I have a Junit5 parameterized test in which I have a static TestRunner 
> instance I use against many scenarios (its static as there is a lot of 
> configuration needed so making it static allows for the one time creation and 
> easy use in a parameterized test). One such scenario is a case where a flow 
> file gets penalized. In order for my next scenario to work I need to clear 
> the queue otherwise I get the failure from the penalized flow file. In order 
> not to have an awkward cast to a StandardProcessorTestRunner in order to call 
> clearQueue, I think the clearQueue method should be added to the TestRunner 
> interface.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to