PYTHON-3433 Failure: test.test_encryption.TestSpec.test_legacy_maxWireVersion_operation_fails_with_maxWireVersion___8 (#1052)

This commit is contained in:
Steven Silvester 2022-09-09 16:28:15 -05:00 committed by GitHub
parent 78256368c7
commit e3ff041b47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{
"runOn": [
{
"maxServerVersion": "4.0"
"maxServerVersion": "4.0.99"
}
],
"database_name": "default",

View File

@ -616,6 +616,8 @@ class TestSpec(SpecRunner):
opts["kms_tls_options"] = KMS_TLS_OPTS
if "key_vault_namespace" not in opts:
opts["key_vault_namespace"] = "keyvault.datakeys"
if "extra_options" in opts:
opts.update(camel_to_snake_args(opts.pop("extra_options")))
opts = dict(opts)
return AutoEncryptionOpts(**opts)