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

Add more safety checks to MockDirectoryWrapper

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0, 6.0
    • None
    • None
    • New

    Description

      When working on LUCENE-6124, i had to force FSDirectory in my test to find bugs.

      for performance reasons, no IndexInput/Outputs are doing any checks like ensureOpen when reading and writing data, but MockDirectoryWrapper needs to do this so that tests can find bugs.

      Attachments

        1. LUCENE-6125.patch
          3 kB
          Robert Muir

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: