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

AvoidCodecs (and maybe similar nearby logic) still runs BeforeClass

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: 4.0-ALPHA, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

            • Assignee:
              dweiss Dawid Weiss
              Reporter:
              rcmuir Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: