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

LuceneTestCase.createTempDir could randomly return symbolic links

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • general/test
    • None

    Description

      When we are creating temporary directories to use for other Lucene functions, we could occasionally provide symbolic links instead of direct references to directories. If the system running tests doesn't support symbolic links, then we should ignore this option.

      Providing links would be useful to test scenarios for example where users have a symbolic link for the "current" index directory and then rotate that over time but applications still use the same link.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mdrob Mike Drob
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: