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 cbe8ef5 commit c90f9bc
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions source/client-side-encryption/tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3213,8 +3213,8 @@ This test uses a mock server with configurable failpoints to simulate network fa
```
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.
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
Expand All @@ -3232,32 +3232,32 @@ and the [C driver tests](TODO) for how to configure failpoints.
2. Configure the mock server to simulate two HTTP failures and two TCP failures.
3. Call `client_encryption.createDataKey()` with "aws" as the provider and the following masterKey:
```javascript
{
"region": "foo",
"key": "bar",
"endpoint": "127.0.0.1:9003",
}
```
```javascript
{
"region": "foo",
"key": "bar",
"endpoint": "127.0.0.1:9003",
}
```
Expect this to succeed.
Repeat this test with the following providers and masterKeys:
#### "azure" provider
```javascript
{
"keyVaultEndpoint": "127.0.0.1:9003",
"keyName": "foo",
}
```
```javascript
{
"keyVaultEndpoint": "127.0.0.1:9003",
"keyName": "foo",
}
```
#### "gcp" provider
```javascript
{
"projectId": "foo",
"location": "bar",
"keyRing": "baz",
"keyName": "qux",
"endpoint": "127.0.0.1:9003"
}
```
```javascript
{
"projectId": "foo",
"location": "bar",
"keyRing": "baz",
"keyName": "qux",
"endpoint": "127.0.0.1:9003"
}
```

0 comments on commit c90f9bc

Please sign in to comment.