| 1 | description: Direct connection with replicaSet URI option |
| 2 | |
| 3 | uri: "mongodb://a/?replicaSet=rs&directConnection=true" |
| 4 | |
| 5 | phases: |
| 6 | # We are connecting to a replica set member |
| 7 | - responses: |
| 8 | - |
| 9 | - "a:27017" |
| 10 | - ok: 1 |
| 11 | helloOk: true |
| 12 | isWritablePrimary: true |
| 13 | setName: rs |
| 14 | minWireVersion: 0 |
| 15 | maxWireVersion: 6 |
| 16 | outcome: |
| 17 | servers: |
| 18 | "a:27017": |
| 19 | type: "RSPrimary" |
| 20 | setName: "rs" |
| 21 | topologyType: "Single" |
| 22 | logicalSessionTimeoutMinutes: |
| 23 | setName: rs |