...

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

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

     1description: "Multiple mongoses with default maxWireVersion of 0"
     2uri: "mongodb://a,b"
     3phases: [
     4    {
     5        responses: [
     6                ["a:27017", {
     7                    ok: 1,
     8                    helloOk: true,
     9                    isWritablePrimary: true,
    10                    msg: "isdbgrid",
    11                    minWireVersion: 2,
    12                    maxWireVersion: 6
    13                }],
    14                ["b:27017", {
    15                    ok: 1,
    16                    helloOk: true,
    17                    isWritablePrimary: true,
    18                    msg: "isdbgrid"
    19                }]
    20        ],
    21        outcome: {
    22            servers: {
    23                "a:27017": {
    24                    type: "Mongos",
    25                    setName:
    26                },
    27                "b:27017": {
    28                    type: "Mongos",
    29                    setName:
    30                }
    31            },
    32            topologyType: "Sharded",
    33            logicalSessionTimeoutMinutes: null,
    34            setName: ,
    35            compatible: false
    36        }
    37    }
    38]

View as plain text