File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
specifications/uri-options/tests Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 36
36
]
37
37
}
38
38
},
39
+ {
40
+ "description" : " Read preference tags are case sensitive" ,
41
+ "uri" : " mongodb://example.com/?readPreference=secondary&readPreferenceTags=dc:NY" ,
42
+ "valid" : true ,
43
+ "warning" : false ,
44
+ "hosts" : null ,
45
+ "auth" : null ,
46
+ "options" : {
47
+ "readPreferenceTags" : [
48
+ {
49
+ "dc" : " NY"
50
+ }
51
+ ]
52
+ }
53
+ },
39
54
{
40
55
"description" : " Invalid readPreferenceTags causes a warning" ,
41
56
"uri" : " mongodb://example.com/?readPreferenceTags=invalid" ,
Original file line number Diff line number Diff line change @@ -26,6 +26,17 @@ tests:
26
26
readPreferenceTags :
27
27
-
28
28
dc : " ny"
29
+ -
30
+ description : " Read preference tags are case sensitive"
31
+ uri : " mongodb://example.com/?readPreference=secondary&readPreferenceTags=dc:NY"
32
+ valid : true
33
+ warning : false
34
+ hosts : ~
35
+ auth : ~
36
+ options :
37
+ readPreferenceTags :
38
+ -
39
+ dc : " NY"
29
40
-
30
41
description : " Invalid readPreferenceTags causes a warning"
31
42
uri : " mongodb://example.com/?readPreferenceTags=invalid"
You can’t perform that action at this time.
0 commit comments