Skip to content

Commit 358a45d

Browse files
committed
remove more backpressure tests
1 parent f2fe21c commit 358a45d

File tree

2 files changed

+41
-35
lines changed

2 files changed

+41
-35
lines changed

.evergreen/spec-patch/PYTHON-5668.patch

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1535,3 +1535,44 @@ index 00000000..eea0e6b5
15351535
+ }
15361536
+ ]
15371537
+}
1538+
diff --git b/test/uri_options/client-backpressure-options.json a/test/uri_options/client-backpressure-options.json
1539+
new file mode 100644
1540+
index 00000000..3fcf2c86
1541+
--- /dev/null
1542+
+++ a/test/uri_options/client-backpressure-options.json
1543+
@@ -0,0 +1,35 @@
1544+
+{
1545+
+ "tests": [
1546+
+ {
1547+
+ "description": "adaptiveRetries=true is parsed correctly",
1548+
+ "uri": "mongodb://example.com/?adaptiveRetries=true",
1549+
+ "valid": true,
1550+
+ "warning": false,
1551+
+ "hosts": null,
1552+
+ "auth": null,
1553+
+ "options": {
1554+
+ "adaptiveRetries": true
1555+
+ }
1556+
+ },
1557+
+ {
1558+
+ "description": "adaptiveRetries=false is parsed correctly",
1559+
+ "uri": "mongodb://example.com/?adaptiveRetries=false",
1560+
+ "valid": true,
1561+
+ "warning": false,
1562+
+ "hosts": null,
1563+
+ "auth": null,
1564+
+ "options": {
1565+
+ "adaptiveRetries": false
1566+
+ }
1567+
+ },
1568+
+ {
1569+
+ "description": "adaptiveRetries with invalid value causes a warning",
1570+
+ "uri": "mongodb://example.com/?adaptiveRetries=invalid",
1571+
+ "valid": true,
1572+
+ "warning": true,
1573+
+ "hosts": null,
1574+
+ "auth": null,
1575+
+ "options": null
1576+
+ }
1577+
+ ]
1578+
+}

test/uri_options/client-backpressure-options.json

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)