[SERVER-76474] Audit consistency/correctness of mocked score responses from mongot in testing Created: 24/Apr/23  Updated: 29/Oct/23  Resolved: 23/Jun/23

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

Type: Improvement Priority: Major - P3
Reporter: Nicholas Zolnierz Assignee: Alyssa Clark
Resolution: Fixed Votes: 0
Labels: neweng, quick-tech-debt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Integration
Backwards Compatibility: Fully Compatible
Participants:

 Description   

There are several integration tests which mock a mongot result as 

{_id: <>, score: <>} 

and others which use the correct $searchScore metadata field instead of 'score'. Since the former tests are still passing, it's likely that they don't require correct responses from mongot so this cleanup would be for documentation and/or future readers to avoid confusion.

 


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