File tree 2 files changed +31
-0
lines changed
testdata/client-side-operations-timeout
2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 422
422
{
423
423
"description" : " apply remaining timeoutMS if less than maxAwaitTimeMS" ,
424
424
"operations" : [
425
+ {
426
+ "name" : " failPoint" ,
427
+ "object" : " testRunner" ,
428
+ "arguments" : {
429
+ "client" : " failPointClient" ,
430
+ "failPoint" : {
431
+ "configureFailPoint" : " failCommand" ,
432
+ "mode" : {
433
+ "times" : 1
434
+ },
435
+ "data" : {
436
+ "failCommands" : [
437
+ " getMore"
438
+ ],
439
+ "blockConnection" : true ,
440
+ "blockTimeMS" : 30
441
+ }
442
+ }
443
+ }
444
+ },
425
445
{
426
446
"name" : " createFindCursor" ,
427
447
"object" : " collection" ,
Original file line number Diff line number Diff line change @@ -249,6 +249,17 @@ tests:
249
249
250
250
- description : " apply remaining timeoutMS if less than maxAwaitTimeMS"
251
251
operations :
252
+ - name : failPoint
253
+ object : testRunner
254
+ arguments :
255
+ client : *failPointClient
256
+ failPoint :
257
+ configureFailPoint : failCommand
258
+ mode : { times: 1 }
259
+ data :
260
+ failCommands : ["getMore"]
261
+ blockConnection : true
262
+ blockTimeMS : 30
252
263
- name : createFindCursor
253
264
object : *collection
254
265
arguments :
You can’t perform that action at this time.
0 commit comments