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

back-compat tests ("ant test-tag") should test JAR drop-in-ability

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 2.9
    • Component/s: general/build
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      We now test back-compat with "ant test-tag", which is very useful for
      catching breaks in back compat before committing.

      However, that currently checks out "src/test" sources and then
      compiles them against the trunk JAR, and runs the tests. Whereas our
      back compat policy:

      http://wiki.apache.org/lucene-java/BackwardsCompatibility

      states that no recompilation is required on upgrading to a new JAR.
      Ie you should be able to drop in the new JAR in place of your old one
      and things should work fine.

      So... we should fix "ant test-tag" to:

      • Do full checkout of core sources & tests from the back-compat-tag
      • Compile the JAR from the back-compat sources
      • Compile the tests against that back-compat JAR
      • Swap in the trunk JAR
      • Run the tests

        Attachments

          Activity

            People

            • Assignee:
              michaelbusch Michael Busch
              Reporter:
              mikemccand Michael McCandless
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: