| 1 |
{ |
| 2 |
"tests": [ |
| 3 |
{ |
| 4 |
"description": "Valid options specific to single-threaded drivers are parsed correctly", |
| 5 |
"uri": "mongodb://example.com/?serverSelectionTryOnce=false", |
| 6 |
"valid": true, |
| 7 |
"warning": false, |
| 8 |
"hosts": null, |
| 9 |
"auth": null, |
| 10 |
"options": { |
| 11 |
"serverSelectionTryOnce": false |
| 12 |
} |
| 13 |
}, |
| 14 |
{ |
| 15 |
"description": "Invalid serverSelectionTryOnce causes a warning", |
| 16 |
"uri": "mongodb://example.com/?serverSelectionTryOnce=invalid", |
| 17 |
"valid": true, |
| 18 |
"warning": true, |
| 19 |
"hosts": null, |
| 20 |
"auth": null, |
| 21 |
"options": {} |
| 22 |
} |
| 23 |
] |
| 24 |
} |