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

Add enum kFakeHashForTest to TransformAlgorithm to avoid repeating applyHmacForTest

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible

      Currently we have `applyHmacForTest` in every test, but with the new structure of `$queryStats` we can add a fake hash to the `AlgorithmType` enum, and use the normalĀ 
      `DocumentSourceQueryStats` constructor.

            Assignee:
            reilly.mcbride@mongodb.com Reilly McBride
            Reporter:
            naama.bareket@mongodb.com Naama Bareket
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: