bson/testdata/connection-string/valid-db-with-dotted-name.json
2025-03-17 20:58:26 +01:00

101 lines
2.5 KiB
JSON

{
"tests": [
{
"description": "Multiple Unix domain sockets and auth DB resembling a socket (relative path)",
"uri": "mongodb://rel%2Fmongodb-27017.sock,rel%2Fmongodb-27018.sock/admin.sock",
"valid": true,
"warning": false,
"hosts": [
{
"type": "unix",
"host": "rel/mongodb-27017.sock",
"port": null
},
{
"type": "unix",
"host": "rel/mongodb-27018.sock",
"port": null
}
],
"auth": {
"username": null,
"password": null,
"db": "admin.sock"
},
"options": null
},
{
"description": "Multiple Unix domain sockets with auth DB resembling a path (relative path)",
"uri": "mongodb://rel%2Fmongodb-27017.sock,rel%2Fmongodb-27018.sock/admin.shoe",
"valid": true,
"warning": false,
"hosts": [
{
"type": "unix",
"host": "rel/mongodb-27017.sock",
"port": null
},
{
"type": "unix",
"host": "rel/mongodb-27018.sock",
"port": null
}
],
"auth": {
"username": null,
"password": null,
"db": "admin.shoe"
},
"options": null
},
{
"description": "Multiple Unix domain sockets and auth DB resembling a socket (absolute path)",
"uri": "mongodb://%2Ftmp%2Fmongodb-27017.sock,%2Ftmp%2Fmongodb-27018.sock/admin.sock",
"valid": true,
"warning": false,
"hosts": [
{
"type": "unix",
"host": "/tmp/mongodb-27017.sock",
"port": null
},
{
"type": "unix",
"host": "/tmp/mongodb-27018.sock",
"port": null
}
],
"auth": {
"username": null,
"password": null,
"db": "admin.sock"
},
"options": null
},
{
"description": "Multiple Unix domain sockets with auth DB resembling a path (absolute path)",
"uri": "mongodb://%2Ftmp%2Fmongodb-27017.sock,%2Ftmp%2Fmongodb-27018.sock/admin.shoe",
"valid": true,
"warning": false,
"hosts": [
{
"type": "unix",
"host": "/tmp/mongodb-27017.sock",
"port": null
},
{
"type": "unix",
"host": "/tmp/mongodb-27018.sock",
"port": null
}
],
"auth": {
"username": null,
"password": null,
"db": "admin.shoe"
},
"options": null
}
]
}