dan-s1 commented on code in PR #6775:
URL: https://github.com/apache/nifi/pull/6775#discussion_r1046487866
##########
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/groovy/org/apache/nifi/controller/repository/crypto/EncryptedFileSystemRepositoryTest.groovy:
##########
@@ -64,9 +61,9 @@ class EncryptedFileSystemRepositoryTest {
(NiFiProperties.CONTENT_REPOSITORY_ENCRYPTION_KEY_PROVIDER_LOCATION)
: ""
]
- @BeforeClass
+ @BeforeAll
static void setUpOnce() throws Exception {
- Assume.assumeTrue("Test only runs on *nix", !SystemUtils.IS_OS_WINDOWS)
+ Assumptions.assumeTrue(!SystemUtils.IS_OS_WINDOWS, "Test only runs on
*nix")
Review Comment:
So I made the changes to EncryptedSequentialAccessWriteAheadLogTest but I am
not sure what to do as the 2 tests are run twice (I am not sure why). The first
time they both pass and the second time they both fail. This happens in
Intellij and with Maven. I am attaching the stacktrace from running it in
Maven.
[EncryptedSequentialAccessWriteAheadLogTest_stacktrace.txt](https://github.com/apache/nifi/files/10212804/EncryptedSequentialAccessWriteAheadLogTest_stacktrace.txt)
--
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]