You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/client-side-encryption/tests/README.md
+106Lines changed: 106 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3290,3 +3290,109 @@ Assert the returned payload size is greater than the size of `payload_defaults`.
3290
3290
> [!NOTE]
3291
3291
> Do not compare the payload contents. The payloads include random data. The `trimFactor` and `sparsity` directly affect
3292
3292
> the payload size.
3293
+
3294
+
### 24. KMS Retry Tests
3295
+
3296
+
The following tests that certain AWS, Azure, and GCP KMS operations are retried on transient errors.
3297
+
3298
+
This test uses a mock server with configurable failpoints to simulate network failures. To start the server:
3299
+
3300
+
```
3301
+
python -u kms_failpoint_server.py --port 9003
3302
+
```
3303
+
3304
+
See the [TLS tests](#10-kms-tls-tests) for running the mock server on Evergreen. See
3305
+
[the mock server implementation](https://github.com/mongodb-labs/drivers-evergreen-tools/blob/4ba50d373652b6fb39239745664637e33e2b01e6/.evergreen/csfle/kms_failpoint_server.py)
0 commit comments