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

Enable core PQS jstests to run with the balancer enabled

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

      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 Unassigned
            Reporter:
            catalin.sumanaru@mongodb.com Catalin Sumanaru
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: