-
Type: Sub-task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
Acceptance Criteria
Implementation Requirements
- Add support for timeoutMS to ClientEncryptionOptions (configured once on its construction and have the option be applied to all calls on this object)
- Add integration tests that verify that the timeoutMS option configured on the ClientEncryption object applies to all APIs listed here
- Add support for timeoutMS for the following ClientEncryption operations:
-
- encrypt
- decrypt
- createEncryptedCollection
- createDataKey
Testing Requirements
- Prose Test #3 from CSOT spec
- Integration Test testing that createEncryptedCollection respects timeoutMS
- Unit test that timeoutMS can be set using ClientEncryptionOptions or the MongoClient - where ClientEncryptionOptions is preferred