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

Gabriel Reid updated AVRO-1150:
-------------------------------

    Attachment: AVRO-1150.patch

Patch that moves to a single AvroTestUtil class, and removes all creation of 
temporary files and directories under tmp (or java.io.tmpdir). 

All temporary files and directories are now created under target/tmpfiles in a 
directory specific to the test class that is creating the file or directory.

Run successfully against "mvn verify".
                
> TestSpecificCompiler leaks temporary directories
> ------------------------------------------------
>
>                 Key: AVRO-1150
>                 URL: https://issues.apache.org/jira/browse/AVRO-1150
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>            Reporter: Gabriel Reid
>            Priority: Minor
>         Attachments: AVRO-1150.patch, AVRO-1150.patch
>
>
> The test class org.apache.avro.compiler.TestSpecificCompiler (in the compiler 
> sub-project) creates a temporary directory, but only deletes the contents of 
> the directory at the end of the test, and not the directory itself.
> This will cause a (small) issue on the long term when running in CI.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to