...

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

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

     1description: "Multiple mongoses"
     2
     3uri: "mongodb://a,b"
     4
     5phases: [
     6
     7    {
     8        responses: [
     9
    10                ["a:27017", {
    11
    12                    ok: 1,
    13                    helloOk: true,
    14                    isWritablePrimary: true,
    15                    msg: "isdbgrid",
    16                    minWireVersion: 0,
    17                    maxWireVersion: 6
    18                }],
    19
    20                ["b:27017", {
    21
    22                    ok: 1,
    23                    helloOk: true,
    24                    isWritablePrimary: true,
    25                    msg: "isdbgrid",
    26                    minWireVersion: 0,
    27                    maxWireVersion: 6
    28                }]
    29        ],
    30
    31        outcome: {
    32
    33            servers: {
    34
    35                "a:27017": {
    36
    37                    type: "Mongos",
    38                    setName:
    39                },
    40
    41                "b:27017": {
    42
    43                    type: "Mongos",
    44                    setName:
    45                }
    46            },
    47            topologyType: "Sharded",
    48            logicalSessionTimeoutMinutes: null,
    49            setName:
    50        }
    51    }
    52]

View as plain text