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

qsutils.assertQueryShapeConfiguration(expected) jstests function doesn't assert query shape configuration

    • Type: Icon: Bug Bug
    • Resolution: Declined
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 7.3.0-rc0
    • Component/s: None
    • ALL
    • QE 2023-12-25

      Instead it checks every expected configuration against `explain` for every expected representativeQuery.

      That means it doesn't check what is not part of `expected`. If expected is an empty list it won't assert anything. 

      I'd expect that function to fetch all query settings and compare every expected setting against every setting from cluster settings.

            Assignee:
            romans.kasperovics@mongodb.com Romans Kasperovics
            Reporter:
            serhii.lysenko@mongodb.com Serhii Lysenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: