Skip to content

Commit 84478d0

Browse files
committed
update tests
1 parent 09fc66d commit 84478d0

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

test/connection_logging/connection-logging.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,9 @@
331331
"uriOptions": {
332332
"retryReads": false,
333333
"appname": "clientAppName",
334-
"heartbeatFrequencyMS": 10000
334+
"heartbeatFrequencyMS": 10000,
335+
"socketTimeoutMS": 500,
336+
"connectTimeoutMS": 500
335337
},
336338
"observeLogMessages": {
337339
"connection": "debug"
@@ -355,7 +357,9 @@
355357
"failCommands": [
356358
"saslContinue"
357359
],
358-
"closeConnection": true,
360+
"closeConnection": false,
361+
"blockConnection": true,
362+
"blockTimeMS": 1000,
359363
"appName": "clientAppName"
360364
}
361365
}

test/discovery_and_monitoring/unified/auth-network-error.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@
5353
"failCommands": [
5454
"saslContinue"
5555
],
56-
"closeConnection": true,
56+
"closeConnection": false,
57+
"blockConnection": true,
58+
"blockTimeMS": 1000,
5759
"appName": "authNetworkErrorTest"
5860
}
5961
}
@@ -75,6 +77,8 @@
7577
],
7678
"uriOptions": {
7779
"retryWrites": false,
80+
"socketTimeoutMS": 500,
81+
"connectTimeoutMS": 500,
7882
"appname": "authNetworkErrorTest"
7983
}
8084
}

0 commit comments

Comments
 (0)