...

Text file src/go.mongodb.org/mongo-driver/testdata/server-discovery-and-monitoring/rs/secondary_wrong_set_name.json

Documentation: go.mongodb.org/mongo-driver/testdata/server-discovery-and-monitoring/rs

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

View as plain text