mongo-python-driver/test/uri_options/single-threaded-options.json

25 lines
611 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": null
}
]
}