...

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

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

     1description: "Parse logicalSessionTimeoutMinutes from standalone"
     2
     3uri: "mongodb://a"
     4
     5phases: [
     6
     7    {
     8        responses: [
     9
    10                ["a:27017", {
    11
    12                    ok: 1,
    13                    helloOk: true,
    14                    isWritablePrimary: true,
    15                    logicalSessionTimeoutMinutes: 7,
    16                    minWireVersion: 0,
    17                    maxWireVersion: 6
    18                }]
    19        ],
    20
    21        outcome: {
    22
    23            servers: {
    24
    25                "a:27017": {
    26
    27                    type: "Standalone",
    28                    setName:
    29                }
    30            },
    31            topologyType: "Single",
    32            logicalSessionTimeoutMinutes: 7,
    33            setName:
    34        }
    35    }
    36]

View as plain text