Skip to content

Commit

Permalink
Whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
adriandole committed May 31, 2024
1 parent c90f9bc commit 0a1e744
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions source/client-side-encryption/tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**.
Expand All @@ -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)
Expand All @@ -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",
Expand All @@ -3252,6 +3256,7 @@ Repeat this test with the following providers and masterKeys:
```
#### "gcp" provider
```javascript
{
"projectId": "foo",
Expand All @@ -3260,4 +3265,4 @@ Repeat this test with the following providers and masterKeys:
"keyName": "qux",
"endpoint": "127.0.0.1:9003"
}
```
```

0 comments on commit 0a1e744

Please sign in to comment.