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

Make LuceneTestCase.TEMP_DIR pkg-private

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: general/test
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated: