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