...
1tests:
2 -
3 description: "Valid connection pool options are parsed correctly"
4 uri: "mongodb://example.com/?maxIdleTimeMS=50000"
5 valid: true
6 warning: false
7 hosts: ~
8 auth: ~
9 options:
10 maxIdleTimeMS: 50000
11 -
12 description: "Non-numeric maxIdleTimeMS causes a warning"
13 uri: "mongodb://example.com/?maxIdleTimeMS=invalid"
14 valid: true
15 warning: true
16 hosts: ~
17 auth: ~
18 options: {}
19 -
20 description: "Too low maxIdleTimeMS causes a warning"
21 uri: "mongodb://example.com/?maxIdleTimeMS=-2"
22 valid: true
23 warning: true
24 hosts: ~
25 auth: ~
26 options: {}
View as plain text