Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-9885

Make compatibility_test_for_release.sh more flexible

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.1.0, 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 5
    • Storage Engines - 2022-10-03

      Summary
      Make compatibility_test_for_release.sh more flexible, so that it can test code on specific branches and commits.

      Currently, the compatibility_test_for_release.sh clones specific branches (develop, mongodb-6.1, mongodb-6.0, mongodb-5.0, and mongodb-4.4) from the WiredTiger git repository. This means that it isn't currently feasible to:

      • run the script locally, or run PR or patch tests on code that is not already merged to one of those branches. This makes development and testing of changes that effect the compatibility tests challenging.
      • 'lock' the versions of code used for testing (eg if someone merges a change to mongodb-6.0 then that change will be pulled into the testing).

      This ticket will add support for:

      • providing alternative branch/commit hashes to be pulled for testing
      • testing of changes to related code within a patch build

       

      Motivation

      • Does this affect any team outside of WT?
        No, it's about improving WT testing
      • Is this issue urgent?
        Yes, as it's hard to test the solution to WT-9795 without this change.

      Acceptance Criteria (Definition of Done)

      • Testing
        Ensure that the various testing scenarios described above work effectively.
      • Documentation update
        N/A

       

            Assignee:
            jeremy.thorp@mongodb.com Jeremy Thorp
            Reporter:
            jeremy.thorp@mongodb.com Jeremy Thorp
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: