Improve handling of query knob setting and resetting in CBR jstests

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, we are manually tracking the previous value of the query knobs and then manually resetting them after the test is run. denis.grebennicov@mongodb.com suggested using mochalite and the withServerParameters() helper (similar to withQuerySettings()) to improve our test case handling when we are cycling through all plan ranking strategies.

      Some examples of tests where we can improve:

            Assignee:
            Unassigned
            Reporter:
            Naafiyan Ahmed
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: