Skip to content

Commit 5a9ebd9

Browse files
committed
update load balancer sdam tests
1 parent 51960c4 commit 5a9ebd9

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

test/load_balancer/sdam-error-handling.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232
"useMultipleMongoses": false,
3333
"uriOptions": {
3434
"appname": "lbSDAMErrorTestClient",
35-
"retryWrites": false
35+
"retryWrites": false,
36+
"socketTimeoutMS": 500,
37+
"connectTimeoutMS": 500
3638
},
3739
"observeEvents": [
3840
"connectionCreatedEvent",
@@ -282,7 +284,8 @@
282284
"isMaster",
283285
"hello"
284286
],
285-
"closeConnection": true,
287+
"blockConnection": true,
288+
"blockTimeMS": 1000,
286289
"appName": "lbSDAMErrorTestClient"
287290
}
288291
}
@@ -296,7 +299,9 @@
296299
"x": 1
297300
}
298301
},
299-
"ignoreResultAndError": true
302+
"expectError": {
303+
"isClientError": true
304+
}
300305
}
301306
],
302307
"expectEvents": [

0 commit comments

Comments
 (0)