@@ -1893,7 +1893,10 @@ test runner SHOULD use the client entity associated with the session
1893
1893
to execute the ``configureFailPoint `` command. In this case, the test runner
1894
1894
MUST also ensure that this command is excluded from the list of observed
1895
1895
command monitoring events for this client (if applicable). If such an API is
1896
- not available, test runners MUST create a new MongoClient that is directly
1896
+ not available, but the test runner creates an internal MongoClient for each
1897
+ mongos, the test runner SHOULD use the internal MongoClient corresponding to
1898
+ the session's pinned server for this operation.
1899
+ Otherwise, test runners MUST create a new MongoClient that is directly
1897
1900
connected to the session's pinned server for this operation. The new
1898
1901
MongoClient instance MUST be closed once the command has finished executing.
1899
1902
@@ -3280,8 +3283,11 @@ Change Log
3280
3283
:2021-08-30: Add ``hasServerConnectionId `` field to ``commandStartedEvent ``,
3281
3284
``commandSuccededEvent `` and ``commandFailedEvent ``.
3282
3285
3283
- :2021-08-24 : Test runners may create an internal MongoClient for each mongos.
3286
+ :2021-08-30 : Test runners may create an internal MongoClient for each mongos.
3284
3287
Better clarify how internal MongoClients may be used.
3288
+ Clarify that drivers creating an internal MongoClient for each
3289
+ mongos should use those clients for ``targetedFailPoint ``
3290
+ operations.
3285
3291
3286
3292
:2021-08-23: Allow ``runOnRequirement `` conditions to be evaluated in any order.
3287
3293
0 commit comments