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 2023/06/22 20:25:00 UTC

[jira] [Created] (NIFI-11746) Refactor system tests to reuse NiFi instances across tests, where applicable

Mark Payne created NIFI-11746:
---------------------------------

             Summary: Refactor system tests to reuse NiFi instances across tests, where applicable
                 Key: NIFI-11746
                 URL: https://issues.apache.org/jira/browse/NIFI-11746
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Core Framework, Tools and Build
            Reporter: Mark Payne
            Assignee: Mark Payne


The System Tests are written in such a way that every new test class creates a new NiFi instance (or cluster) at the start and tears it down at the end.

While this provides the most "safety" for running the tests, it's very expensive and leads to the system tests running very slowly. Where possible, we should reuse a NiFi instance/cluster across tests. This can significantly reduce the amount of time required to run system tests, especially on Github Actions



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