Skip to content

CDRIVER-5901 set cryptSharedLibPath if not present #2060

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kevinAlbs
Copy link
Collaborator

Summary

Apply a cryptSharedLibPath to the unified test runner.

Tested by this patch build.

Background

This applies a consistent search path for crypt_shared. Using a consistent path may avoid triggering an error from libmongocrypt. I expect this did not trigger an error from libmongocrypt since tests were not run concurrently (only one crypt_shared was loaded in process at a time).

A previous task logged different loaded paths:

Opened CSFLE dynamic library [/data/mci/81d2c540daaa5d945ee007f03d0acce5/drivers-evergreen-tools/mongo_crypt_v1.so]
...
Opened CSFLE dynamic library [mongo_crypt_v1.so]

With these changes, a task now consistently logs:

Opened CSFLE dynamic library [/data/mci/37e16be5448147f44bc1d84dbffde64e/drivers-evergreen-tools/mongo_crypt_v1.so]

@kevinAlbs kevinAlbs requested a review from mdb-ad July 15, 2025 16:34
@kevinAlbs kevinAlbs marked this pull request as ready for review July 15, 2025 16:34
@kevinAlbs kevinAlbs requested a review from a team as a code owner July 15, 2025 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant