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

Introduce cursor_hints_to_query_settings test suite

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • QE 2023-12-11, QE 2023-12-25, QE 2024-01-08

      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

            Assignee:
            catalin.sumanaru@mongodb.com Catalin Sumanaru
            Reporter:
            catalin.sumanaru@mongodb.com Catalin Sumanaru
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: