...

Text file src/go.mongodb.org/mongo-driver/testdata/connection-string/valid-db-with-dotted-name.yml

Documentation: go.mongodb.org/mongo-driver/testdata/connection-string

     1tests:
     2    -
     3        description: "Multiple Unix domain sockets and auth DB resembling a socket (relative path)"
     4        uri: "mongodb://rel%2Fmongodb-27017.sock,rel%2Fmongodb-27018.sock/admin.sock"
     5        valid: true
     6        warning: false
     7        hosts:
     8            -
     9                type: "unix"
    10                host: "rel/mongodb-27017.sock"
    11                port: ~
    12            -
    13                type: "unix"
    14                host: "rel/mongodb-27018.sock"
    15                port: ~
    16        auth:
    17            username: ~
    18            password: ~
    19            db: "admin.sock"
    20        options: ~
    21    -
    22        description: "Multiple Unix domain sockets with auth DB resembling a path (relative path)"
    23        uri: "mongodb://rel%2Fmongodb-27017.sock,rel%2Fmongodb-27018.sock/admin.shoe"
    24        valid: true
    25        warning: false
    26        hosts:
    27            -
    28                type: "unix"
    29                host: "rel/mongodb-27017.sock"
    30                port: ~
    31            -
    32                type: "unix"
    33                host: "rel/mongodb-27018.sock"
    34                port: ~
    35        auth:
    36            username: ~
    37            password: ~
    38            db: "admin.shoe"
    39        options: ~
    40    -
    41        description: "Multiple Unix domain sockets and auth DB resembling a socket (absolute path)"
    42        uri: "mongodb://%2Ftmp%2Fmongodb-27017.sock,%2Ftmp%2Fmongodb-27018.sock/admin.sock"
    43        valid: true
    44        warning: false
    45        hosts:
    46            -
    47                type: "unix"
    48                host: "/tmp/mongodb-27017.sock"
    49                port: ~
    50            -
    51                type: "unix"
    52                host: "/tmp/mongodb-27018.sock"
    53                port: ~
    54        auth:
    55            username: ~
    56            password: ~
    57            db: "admin.sock"
    58        options: ~
    59    -
    60        description: "Multiple Unix domain sockets with auth DB resembling a path (absolute path)"
    61        uri: "mongodb://%2Ftmp%2Fmongodb-27017.sock,%2Ftmp%2Fmongodb-27018.sock/admin.shoe"
    62        valid: true
    63        warning: false
    64        hosts:
    65            -
    66                type: "unix"
    67                host: "/tmp/mongodb-27017.sock"
    68                port: ~
    69            -
    70                type: "unix"
    71                host: "/tmp/mongodb-27018.sock"
    72                port: ~
    73        auth:
    74            username: ~
    75            password: ~
    76            db: "admin.shoe"
    77        options: ~

View as plain text