[SERVER-77526] Add enum kFakeHashForTest to TransformAlgorithm to avoid repeating applyHmacForTest Created: 26/May/23  Updated: 29/Oct/23  Resolved: 03/Oct/23

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

Type: Task Priority: Major - P3
Reporter: Naama Bareket Assignee: Reilly McBride
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-77179 Update $queryStats parameters Closed
is depended on by SERVER-85065 Tracking: M3 Tech Debt Tickets Closed
Assigned Teams:
Query Optimization
Backwards Compatibility: Fully Compatible
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 03/Oct/23 ]

Author:

{'name': 'Reilly McBride', 'email': 'reilly.mcbride@mongodb.com', 'username': ''}

Message: SERVER-77526 created SerializationOption for testing to eliminate repeated definitions of applyHmacForTest across different files
Branch: master
https://github.com/mongodb/mongo/commit/b20d1e8c6e9cfe4b9b8c4ccd569e58d74645a917

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