Merge branch 'master' of github.com:mongodb/mongo-python-driver

This commit is contained in:
Steven Silvester 2024-05-14 21:10:20 -05:00
commit 3f901d2d79
No known key found for this signature in database
GPG Key ID: B1BF5EC3A8B32F91
3 changed files with 15 additions and 1 deletions

View File

@ -17,7 +17,7 @@
],
"closeConnection": false,
"blockConnection": true,
"blockTimeMS": 20000
"blockTimeMS": 1000
}
},
"poolOptions": {

View File

@ -220,6 +220,11 @@ class TestCMAP(IntegrationTest):
def run_scenario(self, scenario_def, test):
"""Run a CMAP spec test."""
if (
scenario_def["description"]
== "clear with interruptInUseConnections = true closes pending connections"
):
self.skipTest("Skip pending PYTHON-4414")
self.logs: list = []
self.assertEqual(scenario_def["version"], 1)
self.assertIn(scenario_def["style"], ["unit", "integration"])

View File

@ -1055,6 +1055,15 @@ class UnifiedSpecTestMixinV1(IntegrationTest):
or "Cancel server check" in spec["description"]
):
self.skipTest("MMAPv1 does not support retryWrites=True")
if (
"Database-level aggregate with $out includes read preference for 5.0+ server"
in spec["description"]
):
if client_context.version[0] == 8:
self.skipTest("waiting on PYTHON-4356")
if "Aggregate with $out includes read preference for 5.0+ server" in spec["description"]:
if client_context.version[0] == 8:
self.skipTest("waiting on PYTHON-4356")
if "Client side error in command starting transaction" in spec["description"]:
self.skipTest("Implement PYTHON-1894")
if "timeoutMS applied to entire download" in spec["description"]: