...
1description: "Handle a not-ok isWritablePrimary response"
2
3uri: "mongodb://a"
4
5phases: [
6
7 {
8 responses: [
9
10 ["a:27017", {
11
12 ok: 1,
13 helloOk: true,
14 isWritablePrimary: true,
15 minWireVersion: 0,
16 maxWireVersion: 6
17 }],
18
19 ["a:27017", {
20
21 ok: 0,
22 helloOk: true,
23 isWritablePrimary: true,
24 minWireVersion: 0,
25 maxWireVersion: 6
26 }]
27 ],
28
29 outcome: {
30
31 servers: {
32
33 "a:27017": {
34
35 type: "Unknown",
36 setName:
37 }
38 },
39 topologyType: "Single",
40 logicalSessionTimeoutMinutes: null,
41 setName:
42 }
43 }
44]
View as plain text