You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (Jira)" <ji...@apache.org> on 2022/07/28 15:12:00 UTC

[jira] [Updated] (NIFI-10290) System tests attempting to start processors while still validating

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

Mark Payne updated NIFI-10290:
------------------------------
    Status: Patch Available  (was: Open)

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