bobpaulin commented on code in PR #11872:
URL: https://github.com/apache/nifi/pull/11872#discussion_r4606444405


##########
nifi-system-tests/nifi-system-test-suite/src/test/java/org/apache/nifi/tests/system/connectors/ConnectorParameterContextIT.java:
##########
@@ -108,6 +109,20 @@ public void 
testParameterContextInheritanceWithSensitiveAndAssetParameters() thr
 
         assertEquals(SENSITIVE_SECRET_VALUE, sensitiveContent, "Sensitive 
output file should contain the secret value");
         assertEquals(ASSET_FILE_CONTENT, assetContent, "Asset output file 
should contain the asset file contents");
+
+        // A same-bundle restart resumes the Connector with its sensitive and 
asset parameters still resolved
+        getNiFiInstance().stop();

Review Comment:
   [Claude Opus 5.5] Agreed, I removed the restart. The same-bundle restart 
case is now a unit test in TestStandardConnectorRepository, 
testSameBundleSyncRebuildsFlowWithSecretDerivedParameter. It uses a sensitive 
parameter derived from a secret and checks that a same-bundle sync keeps the 
rebuilt flow rather than restoring the persisted group over it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to