From e608d4850633583620069d5174732999611d77e8 Mon Sep 17 00:00:00 2001 From: Kevin Albertson Date: Wed, 5 Mar 2025 20:38:41 +0000 Subject: [PATCH] Revert "DRIVERS-3108 skip non-LB test on >=8.1 server (#1758)" This reverts commit d05c33e0a6124ee7d1a9de665084d540b2ff06c5. --- .../tests/non-lb-connection-establishment.json | 13 ------------- .../tests/non-lb-connection-establishment.yml | 5 ----- 2 files changed, 18 deletions(-) diff --git a/source/load-balancers/tests/non-lb-connection-establishment.json b/source/load-balancers/tests/non-lb-connection-establishment.json index f4fed13cc2..6aaa7bdf98 100644 --- a/source/load-balancers/tests/non-lb-connection-establishment.json +++ b/source/load-balancers/tests/non-lb-connection-establishment.json @@ -57,19 +57,6 @@ "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", diff --git a/source/load-balancers/tests/non-lb-connection-establishment.yml b/source/load-balancers/tests/non-lb-connection-establishment.yml index 7eea3957ab..e805549ac0 100644 --- a/source/load-balancers/tests/non-lb-connection-establishment.yml +++ b/source/load-balancers/tests/non-lb-connection-establishment.yml @@ -42,11 +42,6 @@ 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