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

AvoidCodecs (and maybe similar nearby logic) still runs BeforeClass

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-ALPHA
    • 4.0-ALPHA, 6.0
    • None
    • None
    • New

    Description

      ant test-core -Dtestcase=TestBackwardsCompatibility -Dtests.codec=Lucene3x

      This test isnt allowed to run Lucene3x, but the assumption stuff is per-method, it still loads things up in beforeClass, meaning we checkindex() real 3.x segments with the "fake" 3.x impersonator and it looks like corruption, which is really scary if you are just trying to run all the tests with -Dtests.codec=Lucene3x to verify a change doesnt break backwards compat.

      Attachments

        Activity

          People

            dweiss Dawid Weiss
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment