lucene-dev mailing list archives

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

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