-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
None
-
3
-
TBD
-
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 that is fcvGated and one that is not). 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.
- is related to
-
SERVER-104278 Fix tests for new query features on views/validators with FCV downgrade
-
- Open
-
-
SERVER-93426 Audit registration macros for feature flag handling
-
- Closed
-