lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4414) Make LuceneTestCase.TEMP_DIR pkg-private
Date Fri, 21 Sep 2012 16:19:07 GMT

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

Dawid Weiss commented on LUCENE-4414:
-------------------------------------

+1.
                
> Make LuceneTestCase.TEMP_DIR pkg-private
> ----------------------------------------
>
>                 Key: LUCENE-4414
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4414
>             Project: Lucene - Core
>          Issue Type: Task
>          Components: general/test
>            Reporter: Robert Muir
>
> Tests using this could be asking for trouble: e.g. its just that particular test slave's
directory and two tests could have a conflict and interfere with each other, or previous runs
could affect the test, etc.
> I think its better to always use a unique tempdir, e.g. _TestUtil.getTempDir(String)

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message