@@ -4,6 +4,7 @@ schemaVersion: "1.9"
4
4
5
5
runOnRequirements :
6
6
- minServerVersion : " 4.4"
7
+ serverless : forbid # Capped collections are not allowed for serverless.
7
8
8
9
createEntities :
9
10
- client :
@@ -12,7 +13,7 @@ createEntities:
12
13
- client :
13
14
id : &client client
14
15
uriOptions :
15
- timeoutMS : 10
16
+ timeoutMS : 200
16
17
useMultipleMongoses : false
17
18
observeEvents :
18
19
- commandStartedEvent
83
84
data :
84
85
failCommands : ["find"]
85
86
blockConnection : true
86
- blockTimeMS : 15
87
+ blockTimeMS : 300
87
88
- name : find
88
89
object : *collection
89
90
arguments :
@@ -117,13 +118,13 @@ tests:
117
118
data :
118
119
failCommands : ["find", "getMore"]
119
120
blockConnection : true
120
- blockTimeMS : 15
121
+ blockTimeMS : 150
121
122
- name : createFindCursor
122
123
object : *collection
123
124
arguments :
124
125
filter : {}
125
126
cursorType : tailableAwait
126
- timeoutMS : 29
127
+ timeoutMS : 250
127
128
batchSize : 1
128
129
saveResultAsEntity : &tailableCursor tailableCursor
129
130
# Iterate twice to force a getMore. The first iteration will return the document from the first batch and the
@@ -165,13 +166,13 @@ tests:
165
166
data :
166
167
failCommands : ["find", "getMore"]
167
168
blockConnection : true
168
- blockTimeMS : 15
169
+ blockTimeMS : 150
169
170
- name : createFindCursor
170
171
object : *collection
171
172
arguments :
172
173
filter : {}
173
174
cursorType : tailableAwait
174
- timeoutMS : 29
175
+ timeoutMS : 250
175
176
batchSize : 1
176
177
maxAwaitTimeMS : 1
177
178
saveResultAsEntity : &tailableCursor tailableCursor
@@ -199,8 +200,8 @@ tests:
199
200
collection : *collectionName
200
201
maxTimeMS : 1
201
202
202
- # The timeoutMS value should be refreshed for getMore's. This is a failure test. The find inherits timeoutMS=10 from
203
- # the collection and the getMore blocks for 15ms , causing iteration to fail with a timeout error.
203
+ # The timeoutMS value should be refreshed for getMore's. This is a failure test. The find inherits timeoutMS=200 from
204
+ # the collection and the getMore blocks for 250ms , causing iteration to fail with a timeout error.
204
205
- description : " timeoutMS is refreshed for getMore - failure"
205
206
operations :
206
207
- name : failPoint
@@ -213,7 +214,7 @@ tests:
213
214
data :
214
215
failCommands : ["getMore"]
215
216
blockConnection : true
216
- blockTimeMS : 15
217
+ blockTimeMS : 250
217
218
- name : createFindCursor
218
219
object : *collection
219
220
arguments :
0 commit comments