Skip to content

Commit 9fa3a6f

Browse files
committed
update load balancer sdam tests
1 parent 6d57549 commit 9fa3a6f

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

test/load_balancer/sdam-error-handling.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
"useMultipleMongoses": false,
3333
"uriOptions": {
3434
"appname": "lbSDAMErrorTestClient",
35+
"socketTimeoutMS": 500,
36+
"connectTimeoutMS": 500,
3537
"retryWrites": false
3638
},
3739
"observeEvents": [
@@ -64,7 +66,9 @@
6466
"id": "multiClient",
6567
"useMultipleMongoses": true,
6668
"uriOptions": {
67-
"retryWrites": false
69+
"retryWrites": false,
70+
"socketTimeoutMS": 500,
71+
"connectTimeoutMS": 500
6872
},
6973
"observeEvents": [
7074
"connectionCreatedEvent",
@@ -282,7 +286,8 @@
282286
"isMaster",
283287
"hello"
284288
],
285-
"closeConnection": true,
289+
"blockConnection": true,
290+
"blockTimeMS": 1000,
286291
"appName": "lbSDAMErrorTestClient"
287292
}
288293
}
@@ -345,7 +350,8 @@
345350
"failCommands": [
346351
"saslContinue"
347352
],
348-
"closeConnection": true,
353+
"blockConnection": true,
354+
"blockTimeMS": 1000,
349355
"appName": "lbSDAMErrorTestClient"
350356
}
351357
}
@@ -406,7 +412,8 @@
406412
"failCommands": [
407413
"getMore"
408414
],
409-
"closeConnection": true
415+
"blockConnection": true,
416+
"blockTimeMS": 1000
410417
}
411418
}
412419
}

0 commit comments

Comments
 (0)