Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-11746

Refactor system tests to reuse NiFi instances across tests, where applicable

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Activity

          People

            markap14 Mark Payne
            markap14 Mark Payne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m