File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "tests" : [
3+ {
4+ "description" : " adaptiveRetries=true is parsed correctly" ,
5+ "uri" : " mongodb://example.com/?adaptiveRetries=true" ,
6+ "valid" : true ,
7+ "warning" : false ,
8+ "hosts" : null ,
9+ "auth" : null ,
10+ "options" : {
11+ "adaptiveRetries" : true
12+ }
13+ },
14+ {
15+ "description" : " adaptiveRetries=false is parsed correctly" ,
16+ "uri" : " mongodb://example.com/?adaptiveRetries=false" ,
17+ "valid" : true ,
18+ "warning" : false ,
19+ "hosts" : null ,
20+ "auth" : null ,
21+ "options" : {
22+ "adaptiveRetries" : false
23+ }
24+ },
25+ {
26+ "description" : " adaptiveRetries with invalid value causes a warning" ,
27+ "uri" : " mongodb://example.com/?adaptiveRetries=invalid" ,
28+ "valid" : true ,
29+ "warning" : true ,
30+ "hosts" : null ,
31+ "auth" : null ,
32+ "options" : null
33+ }
34+ ]
35+ }
Original file line number Diff line number Diff line change 1+ tests :
2+ -
3+ description : " adaptiveRetries=true is parsed correctly"
4+ uri : " mongodb://example.com/?adaptiveRetries=true"
5+ valid : true
6+ warning : false
7+ hosts : ~
8+ auth : ~
9+ options :
10+ adaptiveRetries : true
11+ -
12+ description : " adaptiveRetries=false is parsed correctly"
13+ uri : " mongodb://example.com/?adaptiveRetries=false"
14+ valid : true
15+ warning : false
16+ hosts : ~
17+ auth : ~
18+ options :
19+ adaptiveRetries : false
20+ -
21+ description : " adaptiveRetries with invalid value causes a warning"
22+ uri : " mongodb://example.com/?adaptiveRetries=invalid"
23+ valid : true
24+ warning : true
25+ hosts : ~
26+ auth : ~
27+ options : ~
You can’t perform that action at this time.
0 commit comments