Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-4414

Make LuceneTestCase.TEMP_DIR pkg-private

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • general/test
    • None
    • New

    Description

      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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: