Skip to content

Commit 0c33aad

Browse files
committed
Merge branch 'master' of github.com:mongodb/mongo-python-driver into test-mongodb-runner-python
2 parents 04c4c98 + edd0e06 commit 0c33aad

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

test/asynchronous/test_encryption.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -876,6 +876,8 @@ async def test_views_are_prohibited(self):
876876

877877

878878
class TestCorpus(AsyncEncryptionIntegrationTest):
879+
# PYTHON-5708: Encryption tests sending large payloads fail on some mongocryptd versions.
880+
@async_client_context.require_version_max(6, 99)
879881
@unittest.skipUnless(any(AWS_CREDS.values()), "AWS environment credentials are not set")
880882
async def asyncSetUp(self):
881883
await super().asyncSetUp()
@@ -1052,6 +1054,8 @@ class TestBsonSizeBatches(AsyncEncryptionIntegrationTest):
10521054
client_encrypted: AsyncMongoClient
10531055
listener: OvertCommandListener
10541056

1057+
# PYTHON-5708: Encryption tests sending large payloads fail on some mongocryptd versions.
1058+
@async_client_context.require_version_max(6, 99)
10551059
async def asyncSetUp(self):
10561060
await super().asyncSetUp()
10571061
db = async_client_context.client.db

test/test_encryption.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -872,6 +872,8 @@ def test_views_are_prohibited(self):
872872

873873

874874
class TestCorpus(EncryptionIntegrationTest):
875+
# PYTHON-5708: Encryption tests sending large payloads fail on some mongocryptd versions.
876+
@client_context.require_version_max(6, 99)
875877
@unittest.skipUnless(any(AWS_CREDS.values()), "AWS environment credentials are not set")
876878
def setUp(self):
877879
super().setUp()
@@ -1048,6 +1050,8 @@ class TestBsonSizeBatches(EncryptionIntegrationTest):
10481050
client_encrypted: MongoClient
10491051
listener: OvertCommandListener
10501052

1053+
# PYTHON-5708: Encryption tests sending large payloads fail on some mongocryptd versions.
1054+
@client_context.require_version_max(6, 99)
10511055
def setUp(self):
10521056
super().setUp()
10531057
db = client_context.client.db

0 commit comments

Comments
 (0)