You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Daniel Stieglitz (Jira)" <ji...@apache.org> on 2026/01/01 19:37:00 UTC

[jira] [Created] (NIFI-15417) Re-enable TestFileSystemRepository to run on Windows

Daniel Stieglitz created NIFI-15417:
---------------------------------------

             Summary: Re-enable TestFileSystemRepository to run on Windows
                 Key: NIFI-15417
                 URL: https://issues.apache.org/jira/browse/NIFI-15417
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Daniel Stieglitz
            Assignee: Daniel Stieglitz


TestFileSystemRepository seems to fail as a result of one file not being able to be deleted in setUp as seen in stack trace below
 
 
{code:java}
Error:  org.apache.nifi.controller.repository.TestFileSystemRepository.testReadClaimThenWriteThenReadMore -- Time elapsed: 0.520 s <<< FAILURE! org.opentest4j.AssertionFailedError: Unable to delete target\content_repository\1\1766593486751-1 ==> expected: <null> but was: <target\content_repository\1\1766593486751-1> at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:158) at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:139) at org.junit.jupiter.api.AssertNull.failNotNull(AssertNull.java:56) at org.junit.jupiter.api.AssertNull.assertNull(AssertNull.java:40) at org.junit.jupiter.api.Assertions.assertNull(Assertions.java:306) at org.apache.nifi.controller.repository.util.DiskUtils.deleteRecursively(DiskUtils.java:28) at org.apache.nifi.controller.repository.TestFileSystemRepository.setup(TestFileSystemRepository.java:86) Suppressed: java.lang.NullPointerException: Cannot invoke "org.apache.nifi.controller.repository.FileSystemRepository.shutdown()" because "this.repository" is null at org.apache.nifi.controller.repository.TestFileSystemRepository.shutdown(TestFileSystemRepository.java:96){code}
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)