bson/testdata/uri-options/single-threaded-options.json
2025-03-17 20:58:26 +01:00

25 lines
609 B
JSON

{
"tests": [
{
"description": "Valid options specific to single-threaded drivers are parsed correctly",
"uri": "mongodb://example.com/?serverSelectionTryOnce=false",
"valid": true,
"warning": false,
"hosts": null,
"auth": null,
"options": {
"serverSelectionTryOnce": false
}
},
{
"description": "Invalid serverSelectionTryOnce causes a warning",
"uri": "mongodb://example.com/?serverSelectionTryOnce=invalid",
"valid": true,
"warning": true,
"hosts": null,
"auth": null,
"options": {}
}
]
}