NIFI-16304 Retain connector verification and purge results for one minute - #11634
Open
markap14 wants to merge 1 commit into
Open
NIFI-16304 Retain connector verification and purge results for one minute#11634markap14 wants to merge 1 commit into
markap14 wants to merge 1 commit into
Conversation
…nute Use the millisecond equivalent of one minute for completed configuration verification and FlowFile purge requests. Add a system regression verifying that submitting verification for another connector retains the first completed result.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
NIFI-16304
Submitting a connector configuration verification can remove another connector's completed verification result after only one millisecond, causing a subsequent poll to return HTTP 404. The asynchronous request manager expects a retention interval in milliseconds, but the verification and FlowFile purge managers pass
1L.Set both retention intervals to one minute. Add a system regression that completes verification on one connector, submits verification on another connector, and confirms the first result remains retrievable.
Verification
mvn -pl nifi-system-tests/nifi-system-test-suite -Pintegration-tests,skip-unit-tests '-Dit.test=ConnectorCrudIT#testCompletedConfigVerificationRetainedWhenAnotherConnectorIsVerified' verifynifi-web-api,nifi-server-nar, andnifi-system-test-suitebefore running the system test. Confirmed the assembled runtime contains the rebuilt server NAR.mvn testinnifi-web-api: 642 tests passed../mvnw clean install -P contrib-checkand JDK 25 matrix were not run for this change.No dependencies or documentation changed. The system regression covers verification-result retention; the identical purge-retention correction is not separately exercised by this test.