File tree Expand file tree Collapse file tree 2 files changed +41
-35
lines changed
Expand file tree Collapse file tree 2 files changed +41
-35
lines changed Original file line number Diff line number Diff 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+ + }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments