From 97ac3ebee2e1d97dc4da1687b5277c16681dc3f0 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Fri, 25 Oct 2024 09:49:37 -0500 Subject: [PATCH] PYTHON-4738 Skip encryption fork test (#1972) --- test/asynchronous/test_encryption.py | 2 +- test/test_encryption.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/asynchronous/test_encryption.py b/test/asynchronous/test_encryption.py index 88b005c4b3..40f1acd32d 100644 --- a/test/asynchronous/test_encryption.py +++ b/test/asynchronous/test_encryption.py @@ -380,9 +380,9 @@ async def test_use_after_close(self): is_greenthread_patched(), "gevent and eventlet do not support POSIX-style forking.", ) - @unittest.skipIf("PyPy" in sys.version, "PYTHON-4738 fails often on PyPy") @async_client_context.require_sync async def test_fork(self): + self.skipTest("Test is flaky, PYTHON-4738") opts = AutoEncryptionOpts(KMS_PROVIDERS, "keyvault.datakeys") client = await self.async_rs_or_single_client(auto_encryption_opts=opts) diff --git a/test/test_encryption.py b/test/test_encryption.py index 13a69ca9ad..373981b1d2 100644 --- a/test/test_encryption.py +++ b/test/test_encryption.py @@ -380,9 +380,9 @@ def test_use_after_close(self): is_greenthread_patched(), "gevent and eventlet do not support POSIX-style forking.", ) - @unittest.skipIf("PyPy" in sys.version, "PYTHON-4738 fails often on PyPy") @client_context.require_sync def test_fork(self): + self.skipTest("Test is flaky, PYTHON-4738") opts = AutoEncryptionOpts(KMS_PROVIDERS, "keyvault.datakeys") client = self.rs_or_single_client(auto_encryption_opts=opts)