Skip to content

Commit 921778f

Browse files
fix flakiness
1 parent 6895b25 commit 921778f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test/spec/client-side-operations-timeout/runCursorCommand.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
"getMore"
150150
],
151151
"blockConnection": true,
152-
"blockTimeMS": 60
152+
"blockTimeMS": 120
153153
}
154154
}
155155
}
@@ -159,7 +159,7 @@
159159
"object": "db",
160160
"arguments": {
161161
"commandName": "find",
162-
"timeoutMS": 100,
162+
"timeoutMS": 200,
163163
"command": {
164164
"find": "collection",
165165
"batchSize": 2

test/spec/client-side-operations-timeout/runCursorCommand.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ tests:
7070
runOnRequirements:
7171
- serverless: forbid
7272
operations:
73-
# Block find/getMore for 60ms.
73+
# Block find/getMore for 120ms.
7474
- name: failPoint
7575
object: testRunner
7676
arguments:
@@ -81,16 +81,16 @@ tests:
8181
data:
8282
failCommands: [find, getMore]
8383
blockConnection: true
84-
blockTimeMS: 60
84+
blockTimeMS: 120
8585
# Run a find with timeoutMS less than double our failPoint blockTimeMS and
8686
# batchSize less than the total document count will cause a find and a
87-
# getMore to be sent. Both will block for 60ms so together they will go
87+
# getMore to be sent. Both will block for 120ms so together they will go
8888
# over the timeout.
8989
- name: runCursorCommand
9090
object: *db
9191
arguments:
9292
commandName: find
93-
timeoutMS: 100
93+
timeoutMS: 200
9494
command: { find: *collection, batchSize: 2 }
9595
expectError:
9696
isTimeoutError: true

0 commit comments

Comments
 (0)