-
Type:
Bug
-
Resolution: Done
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Python Drivers
-
None
-
None
-
None
-
None
-
None
-
None
Several tests, including https://evergreen.mongodb.com/test_log/mongo_python_driver_encryption_pyopenssl_rhel8_py3.12_test_6.0_standalone_noauth_nossl_sync_async_6862e94d176c6ee7959d3d114aff301774ecf7df_24_11_01_17_21_17/0?test_name=e553849cad5c374764e90f9e6543ea2d#L0,are asynchronous but have synchronous code in their tracebacks:
[2024/11/01 11:56:11.348] self = <test.asynchronous.test_encryption.TestUnifiedCreateDataKey testMethod=test_create_data_key_with_AWS_KMS_provider> [2024/11/01 11:56:11.348] def test_case(self): [2024/11/01 11:56:11.348] > self.run_scenario(spec) [2024/11/01 11:56:11.348] test/unified_format.py:1466: [2024/11/01 11:56:11.348] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [2024/11/01 11:56:11.348] test/unified_format.py:1410: in run_scenario [2024/11/01 11:56:11.348] self._run_scenario(spec, uri) [2024/11/01 11:56:11.348] test/unified_format.py:1443: in _run_scenario [2024/11/01 11:56:11.348] self.run_operations(spec["operations"]) [2024/11/01 11:56:11.348] test/unified_format.py:1250: in run_operations [2024/11/01 11:56:11.348] self.run_entity_operation(op) [2024/11/01 11:56:11.348] test/unified_format.py:984: in run_entity_operation [2024/11/01 11:56:11.348] result = cmd(**dict(arguments)) [2024/11/01 11:56:11.348] test/unified_format.py:858: in _clientEncryptionOperation_createDataKey [2024/11/01 11:56:11.348] return target.create_data_key(*args, **kwargs) [2024/11/01 11:56:11.348] pymongo/synchronous/encryption.py:802: in create_data_key [2024/11/01 11:56:11.348] with _wrap_encryption_errors():
These test files should be updated to correctly use the asynchronous test runner.