[ 
https://issues.apache.org/jira/browse/AVRO-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455663#comment-13455663
 ] 

Gabriel Reid commented on AVRO-1150:
------------------------------------

There's a AvroTestUtil class that handles creation of temporary directories 
under target/ -- however, it's copied in the avro, ipc, and tools modules. 

I was thinking of making an avro-test module to contain a single copy of this 
class, and build it out a bit to include segregating temp files per test class. 
Any objections to this approach, particularly about the creation of a new 
module?
                
> 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
>
>
> 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