...
1{
2 "tests": [
3 {
4 "description": "serverMonitoringMode=auto",
5 "uri": "mongodb://example.com/?serverMonitoringMode=auto",
6 "valid": true,
7 "warning": false,
8 "hosts": null,
9 "auth": null,
10 "options": {
11 "serverMonitoringMode": "auto"
12 }
13 },
14 {
15 "description": "serverMonitoringMode=stream",
16 "uri": "mongodb://example.com/?serverMonitoringMode=stream",
17 "valid": true,
18 "warning": false,
19 "hosts": null,
20 "auth": null,
21 "options": {
22 "serverMonitoringMode": "stream"
23 }
24 },
25 {
26 "description": "serverMonitoringMode=poll",
27 "uri": "mongodb://example.com/?serverMonitoringMode=poll",
28 "valid": true,
29 "warning": false,
30 "hosts": null,
31 "auth": null,
32 "options": {
33 "serverMonitoringMode": "poll"
34 }
35 },
36 {
37 "description": "invalid serverMonitoringMode",
38 "uri": "mongodb://example.com/?serverMonitoringMode=invalid",
39 "valid": true,
40 "warning": true,
41 "hosts": null,
42 "auth": null,
43 "options": {}
44 }
45 ]
46}
View as plain text