From 0a1e7444524d9a891b98d0ce29172977ee2cc97f Mon Sep 17 00:00:00 2001 From: Adrian Dole Date: Fri, 31 May 2024 14:28:31 -0700 Subject: [PATCH] Whitespace --- source/client-side-encryption/tests/README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/source/client-side-encryption/tests/README.md b/source/client-side-encryption/tests/README.md index b63a7bf6d6..b9708782de 100644 --- a/source/client-side-encryption/tests/README.md +++ b/source/client-side-encryption/tests/README.md @@ -3210,13 +3210,14 @@ Assert that an error was raised. The following tests that certain AWS, Azure, and GCP KMS operations are retried on transient errors. This test uses a mock server with configurable failpoints to simulate network failures. To start the server: + ``` python -u kms_failpoint_server.py --port 9003 ``` + See the [TLS tests](#10-kms-tls-tests) for running the mock server on Evergreen. See [the mock server implementation](TODO) and the [C driver tests](TODO) for how to configure failpoints. - #### Setup 1. Start a `mongod` process with **server version 4.2.0 or later**. @@ -3225,6 +3226,7 @@ See the [TLS tests](#10-kms-tls-tests) for running the mock server on Evergreen. `keyvault.datakeys`. #### createDataKey + 1. Start a mock KMS server on port 9003 with [ca.pem](https://github.com/mongodb-labs/drivers-evergreen-tools/blob/master/.evergreen/x509gen/ca.pem) as a CA file and [expired.pem](https://github.com/mongodb-labs/drivers-evergreen-tools/blob/master/.evergreen/x509gen/expired.pem) @@ -3239,11 +3241,13 @@ See the [TLS tests](#10-kms-tls-tests) for running the mock server on Evergreen. "endpoint": "127.0.0.1:9003", } ``` - Expect this to succeed. + +Expect this to succeed. Repeat this test with the following providers and masterKeys: #### "azure" provider + ```javascript { "keyVaultEndpoint": "127.0.0.1:9003", @@ -3252,6 +3256,7 @@ Repeat this test with the following providers and masterKeys: ``` #### "gcp" provider + ```javascript { "projectId": "foo", @@ -3260,4 +3265,4 @@ Repeat this test with the following providers and masterKeys: "keyName": "qux", "endpoint": "127.0.0.1:9003" } -``` \ No newline at end of file +```