Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-10088

oak-run: DataStoreCommandTest leaves files behind

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • run
    • None

    Description

      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

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

      (there may be more similar issues in other tests)

      Attachments

        Activity

          People

            Unassigned Unassigned
            reschke Julian Reschke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: