Skip to content

Commit

Permalink
CSHARP-5499 Sync non-lb-connection-establishment test (#1618)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinAlbs authored Feb 19, 2025
1 parent 97165a3 commit bfc43d6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,19 @@
"tests": [
{
"description": "operations against non-load balanced clusters fail if URI contains loadBalanced=true",
"runOnRequirements": [
{
"maxServerVersion": "8.0.99",
"topologies": [
"single"
]
},
{
"topologies": [
"sharded"
]
}
],
"operations": [
{
"name": "runCommand",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ tests:
# If the server is not configured to be behind a load balancer and the URI contains loadBalanced=true, the driver
# should error during the connection handshake because the server's hello response does not contain a serviceId field.
- description: operations against non-load balanced clusters fail if URI contains loadBalanced=true
runOnRequirements:
- maxServerVersion: 8.0.99 # DRIVERS-3108: Skip test on >=8.1 mongod. SERVER-85804 changes a non-LB mongod to close connection.
topologies: [ single ]
- topologies: [ sharded ]

operations:
- name: runCommand
object: *lbTrueDatabase
Expand Down

0 comments on commit bfc43d6

Please sign in to comment.