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

Add unit tests for uninitialized FCV in FCV-Gated feature flags

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: 8.1.0-rc0
    • Component/s: Upgrade/Downgrade
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-02-17, CAR Team 2025-03-03

      There is currently no coverage for those methods in feature_flag_test.cpp:

      • FCVGatedFeatureFlag::isEnabled when FCV is uninitialized
      • FCVGatedFeatureFlag::isEnabledUseLastLTSFCVWhenUninitialized
      • FCVGatedFeatureFlag::isEnabledUseLatestFCVWhenUninitialized

      Since in SERVER-99351 we are going to modify those methods, add unit tests to check the existing behaviors and ensure we don't introduce regressions.

            Assignee:
            joan.bruguera-mico@mongodb.com Joan Bruguera Micó
            Reporter:
            joan.bruguera-mico@mongodb.com Joan Bruguera Micó
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: