Skip to content

Commit

Permalink
Fix code block indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikola authored May 31, 2024
1 parent 3407e6c commit 1ee22b4
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions source/retryable-writes/tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,18 +266,18 @@ This test MUST be executed against a sharded cluster
2. Create a client that connects to the mongos using the direct connection, and configure the following fail point on
the mongos:

```javascript
{
configureFailPoint: "failCommand",
mode: { times: 1 },
data: {
failCommands: ["insert"],
errorCode: 6,
errorLabels: ["RetryableWriteError"],
closeConnection: true
}
}
```
```javascript
{
configureFailPoint: "failCommand",
mode: { times: 1 },
data: {
failCommands: ["insert"],
errorCode: 6,
errorLabels: ["RetryableWriteError"],
closeConnection: true
}
}
```

3. Create a client with `retryWrites=true` that connects to the cluster, providing the selected mongos as the seed.

Expand Down

0 comments on commit 1ee22b4

Please sign in to comment.