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

Audit consistency/correctness of mocked score responses from mongot in testing

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible

      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.

       

            Assignee:
            alyssa.clark@mongodb.com Alyssa Clark
            Reporter:
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: