Enable core PQS jstests to run with the balancer enabled

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently the following tests are tagged with assumes_balancer_off:

      • query_settings_index_application_aggregate.js
      • query_settings_index_application_find.js
      • query_settings_index_application_distinct.js

      This is presumably due to the plan cache checks included in the tests. We could gain some additional coverage by replacing the tags with more fine-grained TestData.runningWithBalancer based exclusions. This flag is only set to true on balancer-enabled suites, and could be used as an early exit in QuerySettingsIndexHintsTests.assertQuerySettingsInCacheForCommand()

            Assignee:
            Unassigned
            Reporter:
            Catalin Sumanaru
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: