...

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

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

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

View as plain text