PYTHON-4923 - Add mixed case tests for read preference tags (#1990)
This commit is contained in:
parent
c680f63427
commit
6862e94d17
@ -36,6 +36,21 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "Read preference tags are case sensitive",
|
||||
"uri": "mongodb://example.com/?readPreference=secondary&readPreferenceTags=dc:NY",
|
||||
"valid": true,
|
||||
"warning": false,
|
||||
"hosts": null,
|
||||
"auth": null,
|
||||
"options": {
|
||||
"readPreferenceTags": [
|
||||
{
|
||||
"dc": "NY"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "Invalid readPreferenceTags causes a warning",
|
||||
"uri": "mongodb://example.com/?readPreferenceTags=invalid",
|
||||
@ -43,7 +58,7 @@
|
||||
"warning": true,
|
||||
"hosts": null,
|
||||
"auth": null,
|
||||
"options": {}
|
||||
"options": null
|
||||
},
|
||||
{
|
||||
"description": "Non-numeric maxStalenessSeconds causes a warning",
|
||||
@ -52,7 +67,7 @@
|
||||
"warning": true,
|
||||
"hosts": null,
|
||||
"auth": null,
|
||||
"options": {}
|
||||
"options": null
|
||||
},
|
||||
{
|
||||
"description": "Too low maxStalenessSeconds causes a warning",
|
||||
@ -61,7 +76,7 @@
|
||||
"warning": true,
|
||||
"hosts": null,
|
||||
"auth": null,
|
||||
"options": {}
|
||||
"options": null
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user