[ 
https://issues.apache.org/jira/browse/NIFI-15417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Stieglitz updated NIFI-15417:
------------------------------------
    Status: Patch Available  (was: In Progress)

> 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
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to