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

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

Commit d5386acb4fd4d37629835665b9aa27056f20de71 in nifi's branch 
refs/heads/main from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=d5386acb4f ]

NIFI-10290: Updated system tests to ensure that they do not attempt to start 
processors while the processors are still validating.

This closes #6253

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


> System tests attempting to start processors while still validating
> ------------------------------------------------------------------
>
>                 Key: NIFI-10290
>                 URL: https://issues.apache.org/jira/browse/NIFI-10290
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> We periodically see system tests fail because they attempt to start a 
> processor while the Processor is still Validating. Most of the time, this is 
> obvious by looking at the logs, which indicate that the Processor cannot be 
> started because it is Validating.
> Less obvious, though, we sometimes see tests fail because they trigger a 
> Process Group to start processing. This will start all processors that are 
> valid. However, if a processor is still validating, it will be simply skipped 
> over without error. This can cause failures that are much harder to 
> understand.
> We should update the NiFiClientUtil used by system tests. The 
> startProcessor() method should wait until the processor is no longer 
> validating before attempting to start it. Additionally, the 
> startProcessGroupContents() method should wait until all processors within 
> the group have finished validating before making the start request.
> We should then update the system tests to make use of these methods 
> everywhere instead of using the ProcessorClient.startProcessor method.



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

Reply via email to