DRIVERS-2915 Add ENVIRONMENT auth mechanism property to test URIs (#2160)
This commit is contained in:
parent
f5aeac3ccc
commit
61feccacfe
@ -40,7 +40,7 @@
|
||||
},
|
||||
{
|
||||
"description": "Colon in a key value pair",
|
||||
"uri": "mongodb://example.com/?authMechanism=MONGODB-OIDC&authMechanismProperties=TOKEN_RESOURCE:mongodb://test-cluster",
|
||||
"uri": "mongodb://example.com/?authMechanism=MONGODB-OIDC&authMechanismProperties=TOKEN_RESOURCE:mongodb://test-cluster,ENVIRONMENT:azure",
|
||||
"valid": true,
|
||||
"warning": false,
|
||||
"hosts": [
|
||||
@ -53,9 +53,10 @@
|
||||
"auth": null,
|
||||
"options": {
|
||||
"authmechanismProperties": {
|
||||
"TOKEN_RESOURCE": "mongodb://test-cluster"
|
||||
"TOKEN_RESOURCE": "mongodb://test-cluster",
|
||||
"ENVIRONMENT": "azure"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -96,7 +96,7 @@
|
||||
},
|
||||
{
|
||||
"description": "Comma in a key value pair causes a warning",
|
||||
"uri": "mongodb://localhost?authMechanism=MONGODB-OIDC&authMechanismProperties=TOKEN_RESOURCE:mongodb://host1%2Chost2",
|
||||
"uri": "mongodb://localhost?authMechanism=MONGODB-OIDC&authMechanismProperties=TOKEN_RESOURCE:mongodb://host1%2Chost2,ENVIRONMENT:azure",
|
||||
"valid": true,
|
||||
"warning": true,
|
||||
"hosts": [
|
||||
@ -112,4 +112,4 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user