You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/06/23 21:13:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17736617#comment-17736617 ] 

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

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

NIFI-11746: Refactored instance caching for system tests

Also changed some properties around so that we can have both a clustered and a standalone instance running at the same time.

This closes #7427

Signed-off-by: David Handermann <ex...@apache.org>


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