| 1 | description: "Primary wrong setName" |
| 2 | |
| 3 | uri: "mongodb://a/?replicaSet=rs" |
| 4 | |
| 5 | phases: [ |
| 6 | |
| 7 | { |
| 8 | responses: [ |
| 9 | |
| 10 | ["a:27017", { |
| 11 | |
| 12 | ok: 1, |
| 13 | helloOk: true, |
| 14 | isWritablePrimary: true, |
| 15 | hosts: ["a:27017"], |
| 16 | setName: "wrong", |
| 17 | minWireVersion: 0, |
| 18 | maxWireVersion: 6 |
| 19 | }] |
| 20 | ], |
| 21 | |
| 22 | outcome: { |
| 23 | |
| 24 | servers: {}, |
| 25 | topologyType: "ReplicaSetNoPrimary", |
| 26 | logicalSessionTimeoutMinutes: null, |
| 27 | setName: "rs" |
| 28 | } |
| 29 | } |
| 30 | ] |