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

Daniel Stieglitz updated NIFI-14276:
------------------------------------
    Status: Patch Available  (was: In Progress)

> 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: 10m
>  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