...

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

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

     1description: "Direct connection to unavailable seed"
     2
     3uri: "mongodb://a/?directConnection=true"
     4
     5phases: [
     6
     7    {
     8        responses: [
     9
    10                ["a:27017", {}]
    11        ],
    12
    13        outcome: {
    14
    15            servers: {
    16
    17                "a:27017": {
    18
    19                    type: "Unknown",
    20                    setName:
    21                }
    22            },
    23            topologyType: "Single",
    24            logicalSessionTimeoutMinutes: null,
    25            setName:
    26        }
    27    }
    28]

View as plain text