...
1{
2 "description": "Secondary wrong setName with primary",
3 "uri": "mongodb://a,b/?replicaSet=rs",
4 "phases": [
5 {
6 "responses": [
7 [
8 "a:27017",
9 {
10 "ok": 1,
11 "helloOk": true,
12 "isWritablePrimary": true,
13 "hosts": [
14 "a:27017",
15 "b:27017"
16 ],
17 "setName": "rs",
18 "minWireVersion": 0,
19 "maxWireVersion": 6
20 }
21 ]
22 ],
23 "outcome": {
24 "servers": {
25 "a:27017": {
26 "type": "RSPrimary",
27 "setName": "rs"
28 },
29 "b:27017": {
30 "type": "Unknown",
31 "setName": null
32 }
33 },
34 "topologyType": "ReplicaSetWithPrimary",
35 "logicalSessionTimeoutMinutes": null,
36 "setName": "rs"
37 }
38 },
39 {
40 "responses": [
41 [
42 "b:27017",
43 {
44 "ok": 1,
45 "helloOk": true,
46 "isWritablePrimary": false,
47 "secondary": true,
48 "hosts": [
49 "a:27017",
50 "b:27017"
51 ],
52 "setName": "wrong",
53 "minWireVersion": 0,
54 "maxWireVersion": 6
55 }
56 ]
57 ],
58 "outcome": {
59 "servers": {
60 "a:27017": {
61 "type": "RSPrimary",
62 "setName": "rs"
63 }
64 },
65 "topologyType": "ReplicaSetWithPrimary",
66 "logicalSessionTimeoutMinutes": null,
67 "setName": "rs"
68 }
69 }
70 ]
71}
View as plain text