-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: Testing
Use Case
As a... driver engineer
I want... to automatically skip mongocryptd tests when mongocryptd isn't available
So that... I don't see an error when running them locally (note:mongocryptd is always present in CI)
User Experience
- mongocryptd tests are skipped locally when mongocryptd isn't in the path
Dependencies
- N/A
Risks/Unknowns
- N/A
Acceptance Criteria
Implementation Requirements
- crypto tests that rely on mongocryptd should be skipped when cli isn't available
- ensure that related mongocryptd tests are all working as expected: make sure this addition doesn't end up skipping some tests
- from slack: https://mongodb.slack.com/archives/GGWBN4ZNK/p1758655945233799?thread_ts=1758653990.977689&cid=GGWBN4ZNK
- "Those tests need a mongocryptd in the path because they spawn mongocryptd as a child process. So, the skip could be something like the test only running if mongocryptd --version returns a numeric string or something."
Testing Requirements
- Reviewers should verify locally that this is done correctly (since it's not applicable to CI)
- All tests in CI should continue to run and pass
Documentation Requirements
- N/A
Follow Up Requirements
- N/A