...

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

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

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

View as plain text