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

Implement query analysis js integration tests for $encStrEndsWith

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-101214 implements the required query analysis changes, however, it only provides unit tests for verification.

      As part of this ticket, introduce js integration tests to verify query analysis replaces payloads as expected for $encStrEndsWith.

      Things to consider:

      • We will ultimately want to run tests against all supported commands (i.e Find, Agg, Count, Distinct, FindAndModify, Update & Delete).
      • Look at other tests in fle2_query_analysis/ to see how they perform testing.
      • Consider adding a new file (i.e encTextSearch.js) which specifically tests scenarios that should not throw errors, and verifies that the constant literals have been replaced with the bindata placeholders.
      • We should have introduced a configurable test runner as part of our work for $encStrStartsWith which we can leverage for this task. 

            Assignee:
            Unassigned Unassigned
            Reporter:
            santiago.roche@mongodb.com Santiago Roche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None