Add a test expression that is enabled and registered behind a feature flag

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It would be helpful for testing if we had an expression that was registered with a feature flag and enabled in the current FCV. We should have two expressions (one on latest and one on lastLTS). We could then use these expressions to write stable tests for any feature flag behavior, such as FCV downgrades and our registration macros, such as REGISTER_DOCUMENT_SOURCE_WITH_FEATURE_FLAG. It's difficult to write these tests now because features enabled behind feature flags change for each server version.

      I linked a few tickets that would use these expressions in testing.

              Assignee:
              Gil Alon
              Reporter:
              Gil Alon
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: