Create a passthrough suite in which to add coverage for Query Settings by re-using existing Cursor.hint() jscore tests.
The passthrough suite will override .hint() in the following manner:
- Intercept running query commands using .hint()
- Set a query setting emulating the behaviour of the index specified in .hint()
- Remove the .hint() property from the command
- Execute the query
- Remove the query settings
- is depended on by
-
SERVER-79233 Ensure query settings $natural hints are applied for the specified queries
- Closed
- is related to
-
SERVER-85844 Introduce 'cursor_hints_to_query_settings_sharded' passthrough test suite
- Closed