Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/spec/uri-options/compression-options.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"warning": true,
"hosts": null,
"auth": null,
"options": {}
"options": null
},
{
"description": "Too low zlibCompressionLevel causes a warning",
Expand All @@ -44,7 +44,7 @@
"warning": true,
"hosts": null,
"auth": null,
"options": {}
"options": null
},
{
"description": "Too high zlibCompressionLevel causes a warning",
Expand All @@ -53,7 +53,7 @@
"warning": true,
"hosts": null,
"auth": null,
"options": {}
"options": null
}
]
}
8 changes: 4 additions & 4 deletions test/spec/uri-options/compression-options.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tests:
hosts: ~
auth: ~
options:
compressors:
compressors:
- "zlib"
zlibCompressionLevel: 9
-
Expand All @@ -28,21 +28,21 @@ tests:
warning: true
hosts: ~
auth: ~
options: {}
options: ~
-
description: "Too low zlibCompressionLevel causes a warning"
uri: "mongodb://example.com/?compressors=zlib&zlibCompressionLevel=-2"
valid: true
warning: true
hosts: ~
auth: ~
options: {}
options: ~
-
description: "Too high zlibCompressionLevel causes a warning"
uri: "mongodb://example.com/?compressors=zlib&zlibCompressionLevel=10"
valid: true
warning: true
hosts: ~
auth: ~
options: {}
options: ~

6 changes: 3 additions & 3 deletions test/spec/uri-options/concern-options.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"warning": true,
"hosts": null,
"auth": null,
"options": {}
"options": null
},
{
"description": "Too low wTimeoutMS causes a warning",
Expand All @@ -52,7 +52,7 @@
"warning": true,
"hosts": null,
"auth": null,
"options": {}
"options": null
},
{
"description": "Invalid journal causes a warning",
Expand All @@ -61,7 +61,7 @@
"warning": true,
"hosts": null,
"auth": null,
"options": {}
"options": null
}
]
}
6 changes: 3 additions & 3 deletions test/spec/uri-options/concern-options.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,20 @@ tests:
warning: true
hosts: ~
auth: ~
options: {}
options: ~
-
description: "Too low wTimeoutMS causes a warning"
uri: "mongodb://example.com/?wTimeoutMS=-2"
valid: true
warning: true
hosts: ~
auth: ~
options: {}
options: ~
-
description: "Invalid journal causes a warning"
uri: "mongodb://example.com/?journal=invalid"
valid: true
warning: true
hosts: ~
auth: ~
options: {}
options: ~
38 changes: 19 additions & 19 deletions test/spec/uri-options/connection-options.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"warning": true,
"hosts": null,
"auth": null,
"options": {}
"options": null
},
{
"description": "Too low connectTimeoutMS causes a warning",
Expand All @@ -36,7 +36,7 @@
"warning": true,
"hosts": null,
"auth": null,
"options": {}
"options": null
},
{
"description": "Non-numeric heartbeatFrequencyMS causes a warning",
Expand All @@ -45,7 +45,7 @@
"warning": true,
"hosts": null,
"auth": null,
"options": {}
"options": null
},
{
"description": "Too low heartbeatFrequencyMS causes a warning",
Expand All @@ -54,7 +54,7 @@
"warning": true,
"hosts": null,
"auth": null,
"options": {}
"options": null
},
{
"description": "Non-numeric localThresholdMS causes a warning",
Expand All @@ -63,7 +63,7 @@
"warning": true,
"hosts": null,
"auth": null,
"options": {}
"options": null
},
{
"description": "Too low localThresholdMS causes a warning",
Expand All @@ -72,7 +72,7 @@
"warning": true,
"hosts": null,
"auth": null,
"options": {}
"options": null
},
{
"description": "Invalid retryWrites causes a warning",
Expand All @@ -81,7 +81,7 @@
"warning": true,
"hosts": null,
"auth": null,
"options": {}
"options": null
},
{
"description": "Non-numeric serverSelectionTimeoutMS causes a warning",
Expand All @@ -90,7 +90,7 @@
"warning": true,
"hosts": null,
"auth": null,
"options": {}
"options": null
},
{
"description": "Too low serverSelectionTimeoutMS causes a warning",
Expand All @@ -99,7 +99,7 @@
"warning": true,
"hosts": null,
"auth": null,
"options": {}
"options": null
},
{
"description": "Non-numeric socketTimeoutMS causes a warning",
Expand All @@ -108,7 +108,7 @@
"warning": true,
"hosts": null,
"auth": null,
"options": {}
"options": null
},
{
"description": "Too low socketTimeoutMS causes a warning",
Expand All @@ -117,7 +117,7 @@
"warning": true,
"hosts": null,
"auth": null,
"options": {}
"options": null
},
{
"description": "directConnection=true",
Expand All @@ -137,7 +137,7 @@
"warning": false,
"hosts": null,
"auth": null,
"options": {}
"options": null
},
{
"description": "directConnection=false",
Expand Down Expand Up @@ -168,7 +168,7 @@
"warning": true,
"hosts": null,
"auth": null,
"options": {}
"options": null
},
{
"description": "loadBalanced=true",
Expand Down Expand Up @@ -211,7 +211,7 @@
"warning": true,
"hosts": null,
"auth": null,
"options": {}
"options": null
},
{
"description": "loadBalanced=true with multiple hosts causes an error",
Expand All @@ -220,7 +220,7 @@
"warning": false,
"hosts": null,
"auth": null,
"options": {}
"options": null
},
{
"description": "loadBalanced=true with directConnection=true causes an error",
Expand All @@ -229,7 +229,7 @@
"warning": false,
"hosts": null,
"auth": null,
"options": {}
"options": null
},
{
"description": "loadBalanced=true with replicaSet causes an error",
Expand All @@ -238,7 +238,7 @@
"warning": false,
"hosts": null,
"auth": null,
"options": {}
"options": null
},
{
"description": "timeoutMS=0",
Expand All @@ -258,7 +258,7 @@
"warning": true,
"hosts": null,
"auth": null,
"options": {}
"options": null
},
{
"description": "Too low timeoutMS causes a warning",
Expand All @@ -267,7 +267,7 @@
"warning": true,
"hosts": null,
"auth": null,
"options": {}
"options": null
}
]
}
Loading