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

Add temporary code in TestBackwardsCompatibility to handle two concurrent releases

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Today TestBackwardsCompatibility can handle a single release at a time because TestBackwardsCompatibility#testAllVersionsTested is lenient on the latest version only (the one that is released). However and since we want to release two versions simultaneously (7.7 and 8.0) this test is failing on branch_8x. This means that we need to do one release at a time or add more leniency in the test to handle this special case. We could for instance add something like:

          // NORELEASE: we have two releases in progress (7.7.0 and 8.0.0) so we could be missing
          // 2 files, 1 for 7.7.0 and one for 8.0.0. This should be removed when 7.7.0 is released.
          if (extraFiles.isEmpty() && missingFiles.size() == 2 && missingFiles.contains("7.7.0-cfs") && missingFiles.contains("8.0.0-cfs")) {
            // success
            return;
          }
      

      and remove the code when 7.7.0 is released ?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jim.ferenczi Jim Ferenczi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: