[SERVER-62865] CSFLE: add option for mongo_csfle unit test to dynamically load the csfle library Created: 21/Jan/22  Updated: 29/Oct/23  Resolved: 25/Jan/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0

Type: Task Priority: Major - P3
Reporter: Erwin Pe Assignee: Erwin Pe
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-62155 CSFLE: Test that no side symbols snea... Closed
Backwards Compatibility: Fully Compatible
Sprint: Security 2022-01-24, Security 2022-02-07
Participants:

 Description   

We want to have a version of the mongo_csfle_test.cpp unit test that dynamically loads the shared library, instead of statically linking against mongo_csfle.cpp. This can be useful in cases when we want to test a program that loads the mongo_csfle_v1 shared library thru dlopen/LoadLibrary (e.g. SERVER-61595).



 Comments   
Comment by Githook User [ 25/Jan/22 ]

Author:

{'name': 'Erwin Pe', 'email': 'erwin.pe@mongodb.com', 'username': 'erwee'}

Message: SERVER-62865 add option for mongo_csfle unit test to dynamically load the csfle library
Branch: master
https://github.com/mongodb/mongo/commit/01e801b36574a1e9209f6857680811072e2d1f72

Comment by Githook User [ 25/Jan/22 ]

Author:

{'name': 'Erwin Pe', 'email': 'erwin.pe@mongodb.com', 'username': 'erwee'}

Message: SERVER-62865 add option for mongo_csfle unit test to dynamically load the csfle library
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/2a65e4d153f5990342809f57ff047f4fd9267981

Generated at Thu Feb 08 05:56:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.