exceptionfactory commented on a change in pull request #5510:
URL: https://github.com/apache/nifi/pull/5510#discussion_r743990401



##########
File path: 
nifi-nar-bundles/nifi-provenance-repository-bundle/nifi-persistent-provenance-repository/src/test/groovy/org/apache/nifi/provenance/EncryptedWriteAheadProvenanceRepositoryTest.groovy
##########
@@ -205,7 +204,8 @@ class EncryptedWriteAheadProvenanceRepositoryTest {
         NiFiProperties properties = 
NiFiProperties.createBasicNiFiProperties(null, [
                 
(NiFiProperties.PROVENANCE_REPO_ENCRYPTION_KEY_PROVIDER_IMPLEMENTATION_CLASS): 
StaticKeyProvider.class.name,
                 (NiFiProperties.PROVENANCE_REPO_ENCRYPTION_KEY): KEY_HEX,
-                (NiFiProperties.PROVENANCE_REPO_ENCRYPTION_KEY_ID): KEY_ID
+                (NiFiProperties.PROVENANCE_REPO_ENCRYPTION_KEY_ID): KEY_ID,
+                (NiFiProperties.PROVENANCE_REPO_DIRECTORY_PREFIX + "test"): 
File.createTempDir(getClass().simpleName).toString()

Review comment:
       Moving `File.createTempDir()` to the `setUpOnce()` method would also 
allow removing the directory in a new cleanup method annotated with `AfterAll`.




-- 
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