dan-s1 commented on code in PR #6775: URL: https://github.com/apache/nifi/pull/6775#discussion_r1046502289
########## 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: This may be the cause [Why does JUnit run tests twice with different results](https://stacko(https://stackoverflow.com/questions/50751861/why-does-junit-run-tests-twice-with-different-resuls) -- 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: issues-unsubscr...@nifi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org