[
https://issues.apache.org/jira/browse/LUCENE-5577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13960227#comment-13960227
]
Dawid Weiss commented on LUCENE-5577:
-------------------------------------
I think the code is pretty much ready (against trunk). I left it in SVN at:
https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914
Would like to commit shortly, it's a fairly sizeable patch and I wouldn't want
it to go out of sync.
> Temporary folder and file management (and cleanup facilities)
> -------------------------------------------------------------
>
> Key: LUCENE-5577
> URL: https://issues.apache.org/jira/browse/LUCENE-5577
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Dawid Weiss
> Assignee: Dawid Weiss
> Priority: Minor
> Fix For: 4.8, 5.0
>
>
> This is a spinoff of the work [[email protected]], Uwe and me have
> initiated in SOLR-5914.
> The core concept is this:
> * every test should create its temporary folders and files in a sub-folder of
> one, easily identifiable, parent.
> * temporary folder/ file creation routines should be available in LTC, so
> that no additional imports/ fiddling is needed.
> * any temporary folders and files should be removable at the end of the suite
> (class), if all tests completes successfully. failure to do so (on windows)
> should be marked as an error
> * there should be a way to temporarily mark a class to circumvent the above
> check (for known offenders)
> * there should be a way for developers to leave temporary files on disk for
> further inspection (even in case of successful runs).
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]