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/23 20:07:00 UTC

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

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

Mark Payne updated NIFI-11746:
------------------------------
    Fix Version/s: 1.latest
                   2.latest
           Status: Patch Available  (was: Open)

> 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
>            Priority: Major
>             Fix For: 1.latest, 2.latest
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)