You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "endzeit (Jira)" <ji...@apache.org> on 2024/08/31 19:09:00 UTC

[jira] [Created] (NIFI-13698) Ensure all created sessions in TestRunner contain no pending changes on processor stop

endzeit created NIFI-13698:
------------------------------

             Summary: Ensure all created sessions in TestRunner contain no pending changes on processor stop
                 Key: NIFI-13698
                 URL: https://issues.apache.org/jira/browse/NIFI-13698
             Project: Apache NiFi
          Issue Type: Sub-task
            Reporter: endzeit


As part of `TestRunner::stop`, any `MockProcessSession` created during the tests should be checked for any pending, uncommited changes. In case such changes are found, the test case should fail and notify the user about the potential resource leak.

Users should be able to opt-out of this added behaviour using a method / property on the `TestRunner`.



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