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

XMLWordPrintableJSON

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

      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
            Reporter:
            Serhii Lysenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: