Skip to content

Commit 5af2ab7

Browse files
authored
DRIVERS-1929 Add missing "hello" to load balanacer spec test (#1071)
1 parent 1cd7965 commit 5af2ab7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

source/load-balancers/tests/sdam-error-handling.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@
260260
]
261261
},
262262
{
263-
"description": "errors during the initial connection hello are ignore",
263+
"description": "errors during the initial connection hello are ignored",
264264
"runOnRequirements": [
265265
{
266266
"minServerVersion": "4.9"
@@ -279,7 +279,8 @@
279279
},
280280
"data": {
281281
"failCommands": [
282-
"isMaster"
282+
"isMaster",
283+
"hello"
283284
],
284285
"closeConnection": true,
285286
"appName": "lbSDAMErrorTestClient"

source/load-balancers/tests/sdam-error-handling.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ tests:
139139

140140
# This test uses singleClient to ensure that connection attempts are routed
141141
# to the same mongos on which the failpoint is set.
142-
- description: errors during the initial connection hello are ignore
142+
- description: errors during the initial connection hello are ignored
143143
runOnRequirements:
144144
# Server version 4.9+ is needed to set a fail point on the initial
145145
# connection handshake with the appName filter due to SERVER-49336.
@@ -153,7 +153,7 @@ tests:
153153
configureFailPoint: failCommand
154154
mode: { times: 1 }
155155
data:
156-
failCommands: [isMaster]
156+
failCommands: [isMaster, hello]
157157
closeConnection: true
158158
appName: *singleClientAppName
159159
- name: insertOne

0 commit comments

Comments
 (0)