Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-67846

Tests relying on featureFlagCollModIndexUnique should check FCV 60

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.0.2, 6.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Execution Team 2022-08-08
    • 5

    Description

      Tests skip running (example) if featureFlagCollModIndexUnique is disabled (checked with getParam), and some of those tests have a 'requires_fcv_52' tag or no FCV tag, but the feature flag is FCV 60.

      This causes the tests to run because getParam returns true, but later fail because the feature flag is actually disabled by the isEnabled FCV check.

      For instance, tests may fail due to "collMod does not support converting an index to 'unique' or to 'prepareUnique' mode".

      Tests should make sure the FCV is 60, for instance by updating tags to requires_fcv_60 or explicitly checking the FCV together with getParam. 

       

      Attachments

        Activity

          People

            yujin.kang@mongodb.com Yujin Kang Park
            yujin.kang@mongodb.com Yujin Kang Park
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: