File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,8 @@ PoolClearedError Retryability Test
182
182
==================================
183
183
184
184
This test will be used to ensure drivers properly retry after encountering PoolClearedErrors.
185
- This test MUST be implemented by any driver that implements the CMAP specification.
185
+ It MUST be implemented by any driver that implements the CMAP specification.
186
+ This test requires MongoDB 4.2.9+ for ``blockConnection `` support in the failpoint.
186
187
187
188
1. Create a client with maxPoolSize=1 and retryReads=true. If testing against a
188
189
sharded deployment, be sure to connect to only a single mongos.
Original file line number Diff line number Diff line change @@ -330,7 +330,7 @@ and sharded clusters.
330
330
331
331
#. Test that drivers properly retry after encountering PoolClearedErrors. This
332
332
test MUST be implemented by any driver that implements the CMAP
333
- specification.
333
+ specification. This test requires MongoDB 4.2.9+ for `` blockConnection `` support in the failpoint.
334
334
335
335
1. Create a client with maxPoolSize=1 and retryWrites=true. If testing
336
336
against a sharded deployment, be sure to connect to only a single mongos.
@@ -344,7 +344,8 @@ and sharded clusters.
344
344
failCommands: ["insert"],
345
345
errorCode: 91,
346
346
blockConnection: true,
347
- blockTimeMS: 1000
347
+ blockTimeMS: 1000,
348
+ errorLabels: ["RetryableWriteError"]
348
349
}
349
350
}
350
351
You can’t perform that action at this time.
0 commit comments