Skip to content

Commit 35f8b87

Browse files
fix flaky test
1 parent 57435eb commit 35f8b87

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

source/client-side-operations-timeout/tests/runCursorCommand.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/client-side-operations-timeout/tests/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)