remove more backpressure tests

This commit is contained in:
Iris Ho 2026-03-30 14:19:36 -07:00
parent f2fe21cca8
commit 358a45d676
No known key found for this signature in database
GPG Key ID: 1D844EFC10209186
2 changed files with 41 additions and 35 deletions

View File

@ -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
+ }
+ ]
+}

View File

@ -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
}
]
}