Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1031

Temp files are not deleted properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.15, 2.16
    • 2.17
    • Maven Surefire Plugin
    • None

    Description

      After the SUREFIRE-938 fix was introduced in version 2.15 there is a problem of two much temp files created in the temp folder. This is related to this issue in DeferredFileOutputStream of common-io: https://issues.apache.org/jira/browse/IO-397

      As a workaround it would be nice to have a configuration option for memory threshold size instead of hardcoded 1MB.

      Another solutions would be do delete the temp file explicitly (if it exists) before closing the DeferredFileOutputStream.

      Attachments

        Issue Links

          Activity

            People

              agudian Andreas Gudian
              slavarosin Vjatseslav Rosin
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: