Skip to content

Commit d91db3b

Browse files
committed
more fixes
1 parent 0d42dbd commit d91db3b

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

source/uri-options/tests/auth-options.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"hosts": null,
99
"auth": null,
1010
"options": {
11-
"authmechanism": "GSSAPI",
11+
"authMechanism": "GSSAPI",
1212
"authMechanismProperties": {
1313
"SERVICE_NAME": "other",
14-
"CANONICALIZE_HOST_NAME": "true"
14+
"CANONICALIZE_HOST_NAME": true
1515
},
1616
"authSource": "$external"
1717
}

source/uri-options/tests/auth-options.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ tests:
1010
authMechanism: "GSSAPI"
1111
authMechanismProperties:
1212
SERVICE_NAME: "other"
13-
CANONICALIZE_HOST_NAME: "true"
13+
CANONICALIZE_HOST_NAME: true
1414
authSource: "$external"

source/uri-options/tests/connection-options.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"tests": [
33
{
44
"description": "Valid connection and timeout options are parsed correctly",
5-
"uri": "mongodb://example.com/?appname=URI-OPTIONS-SPEC-TEST&connectTimeoutMS=20000&heartbeatFrequencyMS=5000&localThresholdMS=3000&replicaSet=uri-options-spec&retryWrites=true&serverSelectionTimeoutMS=15000&socketTimeoutMS=7500",
5+
"uri": "mongodb://example.com/?appname=URI-OPTIONS-SPEC-TEST&connectTimeoutMS=20000&heartbeatFrequencyMS=5000&localThresholdMS=3000&maxIdleTimeMS=50000&replicaSet=uri-options-spec&retryWrites=true&serverSelectionTimeoutMS=15000&socketTimeoutMS=7500",
66
"valid": true,
77
"warning": false,
88
"hosts": null,

source/uri-options/tests/connection-options.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
tests:
22
-
33
description: "Valid connection and timeout options are parsed correctly"
4-
uri: "mongodb://example.com/?appname=URI-OPTIONS-SPEC-TEST&connectTimeoutMS=20000&heartbeatFrequencyMS=5000&localThresholdMS=3000&replicaSet=uri-options-spec&retryWrites=true&serverSelectionTimeoutMS=15000&socketTimeoutMS=7500"
4+
uri: "mongodb://example.com/?appname=URI-OPTIONS-SPEC-TEST&connectTimeoutMS=20000&heartbeatFrequencyMS=5000&localThresholdMS=3000&maxIdleTimeMS=50000&replicaSet=uri-options-spec&retryWrites=true&serverSelectionTimeoutMS=15000&socketTimeoutMS=7500"
55
valid: true
66
warning: false
77
hosts: ~

source/uri-options/tests/read-preference-options.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"options": {
1111
"readPreference": "primaryPreferred",
1212
"readPreferenceTags": [
13-
"dc:ny,rack",
13+
"dc:ny,rack:1",
1414
"dc:ny"
1515
],
1616
"maxStalenessSeconds": 120

source/uri-options/tests/tls-options.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"tls": true,
1212
"tlsCAFile": "ca.pem",
1313
"tlsCertificateKeyFile": "cert.pem",
14-
"tlsCertificateKeyPassword": "hunter2"
14+
"tlsCertificateKeyFilePassword": "hunter2"
1515
}
1616
},
1717
{

source/uri-options/tests/tls-options.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ tests:
1010
tls: true
1111
tlsCAFile: "ca.pem"
1212
tlsCertificateKeyFile: "cert.pem"
13-
tlsCertificateKeyPassword: "hunter2"
13+
tlsCertificateKeyFilePassword: "hunter2"
1414
-
1515
description: "Invalid tlsAllowInvalidCertificates causes a warning"
1616
uri: "mongodb://example.com/?tlsAllowInvalidCertificates=invalid"

0 commit comments

Comments
 (0)