Julian Reschke created OAK-10088:
------------------------------------

             Summary: oak-run: DataStoreCommandTest leaves files behind
                 Key: OAK-10088
                 URL: https://issues.apache.org/jira/browse/OAK-10088
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: run
            Reporter: Julian Reschke


The tests leave temporary junit folders inside target behind.

This does not cause test failures but it cause for concern, as Junit's 
TemporaryFolder tule is unable to cleanup, which might indicate leaking file 
handles.

To make the tests fail, use

{noformat}
    @Rule
    public final TemporaryFolder temporaryFolder = 
TemporaryFolder.builder().assureDeletion().parentFolder(new File("target"))
            .build();
{noformat}

(there may be more similar issues in other tests)



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

Reply via email to