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

add a BaseDirectoryTestCase

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.9, 6.0
    • None
    • None
    • New

    Description

      Currently most directory code is tested indirectly. But there are still corner cases like LUCENE-5066, NRCachingDirectory.testNoDir, TestRAMDirectory.testSeekToEOFThenBack, that only target specific directories where some user reported the bug. If one of our other directories has these bugs, the best we can hope for is some other lucene test will trip it indirectly and we will find it after lots of debugging...

      Instead we should herd up all these tests into a base class and test every directory explicitly and directly with it (like we do with the codec API).

      Attachments

        1. LUCENE-5067.patch
          46 kB
          Robert Muir
        2. LUCENE-5067.patch
          47 kB
          Robert Muir

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: