1description: "Secondary's host list is not authoritative"
2
3uri: "mongodb://a/?replicaSet=rs"
4
5phases: [
6
7    {
8        responses: [
9
10                ["a:27017", {
11
12                    ok: 1,
13                    ismaster: true,
14                    setName: "rs",
15                    hosts: ["a:27017", "b:27017"],
16                    minWireVersion: 0,
17                    maxWireVersion: 6
18                }],
19
20                ["b:27017", {
21
22                    ok: 1,
23                    ismaster: false,
24                    secondary: true,
25                    setName: "rs",
26                    hosts: ["b:27017", "c:27017"],
27                    minWireVersion: 0,
28                    maxWireVersion: 6
29                }]
30        ],
31
32        outcome: {
33
34            servers: {
35
36                "a:27017": {
37
38                    type: "RSPrimary",
39                    setName: "rs"
40                },
41
42                "b:27017": {
43
44                    type: "RSSecondary",
45                    setName: "rs"
46                }
47            },
48            topologyType: "ReplicaSetWithPrimary",
49            logicalSessionTimeoutMinutes: null,
50            setName: "rs"
51        }
52    }
53]
54