File tree Expand file tree Collapse file tree 4 files changed +20
-218
lines changed
test/spec/client-backpressure Expand file tree Collapse file tree 4 files changed +20
-218
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1010 {
1111 "client" : {
1212 "id" : " client0" ,
13+ "useMultipleMongoses" : false ,
1314 "observeEvents" : [
1415 " commandStartedEvent" ,
1516 " commandFailedEvent" ,
1920 },
2021 {
2122 "client" : {
22- "id" : " failPointClient"
23+ "id" : " failPointClient" ,
24+ "useMultipleMongoses" : false
2325 }
2426 },
2527 {
Original file line number Diff line number Diff line change @@ -5,12 +5,14 @@ runOnRequirements:
55createEntities :
66 - client :
77 id : &client client0
8+ useMultipleMongoses : false
89 observeEvents :
910 - commandStartedEvent
1011 - commandFailedEvent
1112 - commandSucceededEvent
1213 - client :
1314 id : &failPointClient failPointClient
15+ useMultipleMongoses : false
1416 - database :
1517 id : db
1618 client : *client
@@ -26,7 +28,7 @@ initialData:
2628 - { a: 1 }
2729 - { a: 2 }
2830 - { a: 3 }
29-
31+
3032tests :
3133 - description : " getMores are retried"
3234 operations :
@@ -60,27 +62,27 @@ tests:
6062 events :
6163 - commandStartedEvent :
6264 commandName : find
63- - commandSucceededEvent :
65+ - commandSucceededEvent :
6466 commandName : find
6567 # first attempt
6668 - commandStartedEvent :
6769 commandName : getMore
68- - commandFailedEvent :
70+ - commandFailedEvent :
6971 commandName : getMore
7072 # second attempt
7173 - commandStartedEvent :
7274 commandName : getMore
73- - commandFailedEvent :
75+ - commandFailedEvent :
7476 commandName : getMore
7577 # third attempt
7678 - commandStartedEvent :
7779 commandName : getMore
78- - commandFailedEvent :
80+ - commandFailedEvent :
7981 commandName : getMore
8082 # success
8183 - commandStartedEvent :
8284 commandName : getMore
83- - commandSucceededEvent :
85+ - commandSucceededEvent :
8486 commandName : getMore
8587
8688 - description : " getMores are retried maxAttempts=5 times"
@@ -111,39 +113,39 @@ tests:
111113 events :
112114 - commandStartedEvent :
113115 commandName : find
114- - commandSucceededEvent :
116+ - commandSucceededEvent :
115117 commandName : find
116118 # first attempt
117119 - commandStartedEvent :
118120 commandName : getMore
119- - commandFailedEvent :
121+ - commandFailedEvent :
120122 commandName : getMore
121123 # second attempt
122124 - commandStartedEvent :
123125 commandName : getMore
124- - commandFailedEvent :
126+ - commandFailedEvent :
125127 commandName : getMore
126128 # third attempt
127129 - commandStartedEvent :
128130 commandName : getMore
129- - commandFailedEvent :
131+ - commandFailedEvent :
130132 commandName : getMore
131133 # fourth attempt
132134 - commandStartedEvent :
133135 commandName : getMore
134- - commandFailedEvent :
136+ - commandFailedEvent :
135137 commandName : getMore
136138 # fifth attempt
137139 - commandStartedEvent :
138140 commandName : getMore
139- - commandFailedEvent :
141+ - commandFailedEvent :
140142 commandName : getMore
141143 # final attempt
142144 - commandStartedEvent :
143145 commandName : getMore
144- - commandFailedEvent :
146+ - commandFailedEvent :
145147 commandName : getMore
146148 - commandStartedEvent :
147149 commandName : killCursors
148- - commandSucceededEvent :
149- commandName : killCursors
150+ - commandSucceededEvent :
151+ commandName : killCursors
You can’t perform that action at this time.
0 commit comments