remove more backpressure tests
This commit is contained in:
parent
f2fe21cca8
commit
358a45d676
@ -1535,3 +1535,44 @@ index 00000000..eea0e6b5
|
||||
+ }
|
||||
+ ]
|
||||
+}
|
||||
diff --git b/test/uri_options/client-backpressure-options.json a/test/uri_options/client-backpressure-options.json
|
||||
new file mode 100644
|
||||
index 00000000..3fcf2c86
|
||||
--- /dev/null
|
||||
+++ a/test/uri_options/client-backpressure-options.json
|
||||
@@ -0,0 +1,35 @@
|
||||
+{
|
||||
+ "tests": [
|
||||
+ {
|
||||
+ "description": "adaptiveRetries=true is parsed correctly",
|
||||
+ "uri": "mongodb://example.com/?adaptiveRetries=true",
|
||||
+ "valid": true,
|
||||
+ "warning": false,
|
||||
+ "hosts": null,
|
||||
+ "auth": null,
|
||||
+ "options": {
|
||||
+ "adaptiveRetries": true
|
||||
+ }
|
||||
+ },
|
||||
+ {
|
||||
+ "description": "adaptiveRetries=false is parsed correctly",
|
||||
+ "uri": "mongodb://example.com/?adaptiveRetries=false",
|
||||
+ "valid": true,
|
||||
+ "warning": false,
|
||||
+ "hosts": null,
|
||||
+ "auth": null,
|
||||
+ "options": {
|
||||
+ "adaptiveRetries": false
|
||||
+ }
|
||||
+ },
|
||||
+ {
|
||||
+ "description": "adaptiveRetries with invalid value causes a warning",
|
||||
+ "uri": "mongodb://example.com/?adaptiveRetries=invalid",
|
||||
+ "valid": true,
|
||||
+ "warning": true,
|
||||
+ "hosts": null,
|
||||
+ "auth": null,
|
||||
+ "options": null
|
||||
+ }
|
||||
+ ]
|
||||
+}
|
||||
|
||||
@ -1,35 +0,0 @@
|
||||
{
|
||||
"tests": [
|
||||
{
|
||||
"description": "adaptiveRetries=true is parsed correctly",
|
||||
"uri": "mongodb://example.com/?adaptiveRetries=true",
|
||||
"valid": true,
|
||||
"warning": false,
|
||||
"hosts": null,
|
||||
"auth": null,
|
||||
"options": {
|
||||
"adaptiveRetries": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "adaptiveRetries=false is parsed correctly",
|
||||
"uri": "mongodb://example.com/?adaptiveRetries=false",
|
||||
"valid": true,
|
||||
"warning": false,
|
||||
"hosts": null,
|
||||
"auth": null,
|
||||
"options": {
|
||||
"adaptiveRetries": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "adaptiveRetries with invalid value causes a warning",
|
||||
"uri": "mongodb://example.com/?adaptiveRetries=invalid",
|
||||
"valid": true,
|
||||
"warning": true,
|
||||
"hosts": null,
|
||||
"auth": null,
|
||||
"options": null
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user