From 358a45d6761c6651f24f2544671e42b626f984f9 Mon Sep 17 00:00:00 2001 From: Iris Ho Date: Mon, 30 Mar 2026 14:19:36 -0700 Subject: [PATCH] remove more backpressure tests --- .evergreen/spec-patch/PYTHON-5668.patch | 41 +++++++++++++++++++ .../client-backpressure-options.json | 35 ---------------- 2 files changed, 41 insertions(+), 35 deletions(-) delete mode 100644 test/uri_options/client-backpressure-options.json diff --git a/.evergreen/spec-patch/PYTHON-5668.patch b/.evergreen/spec-patch/PYTHON-5668.patch index c2e66dfab..d48b18fe6 100644 --- a/.evergreen/spec-patch/PYTHON-5668.patch +++ b/.evergreen/spec-patch/PYTHON-5668.patch @@ -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 ++ } ++ ] ++} diff --git a/test/uri_options/client-backpressure-options.json b/test/uri_options/client-backpressure-options.json deleted file mode 100644 index 3fcf2c86b..000000000 --- a/test/uri_options/client-backpressure-options.json +++ /dev/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 - } - ] -}