[SERVER-83929] qsutils.assertQueryShapeConfiguration(expected) jstests function doesn't assert query shape configuration Created: 06/Dec/23  Updated: 07/Dec/23  Resolved: 07/Dec/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 7.3.0-rc0
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Serhii Lysenko Assignee: Romans Kasperovics
Resolution: Declined Votes: 0
Labels: M3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Sprint: QE 2023-12-25
Participants:

 Description   

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.



 Comments   
Comment by Serhii Lysenko [ 07/Dec/23 ]

It works just file. The reporter (me) rushed into filing a ticket before taking a closer look.

Generated at Thu Feb 08 06:53:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.