From caedfb4a131e40dda33599992c74d5df2bfb3805 Mon Sep 17 00:00:00 2001 From: Noah Stapp Date: Thu, 10 Oct 2024 16:41:47 -0400 Subject: [PATCH] PYTHON-4844 - Skip async test_encryption.AsyncTestSpec.test_legacy_timeoutMS_timeoutMS_applied_t --- test/asynchronous/test_encryption.py | 5 +++++ test/test_encryption.py | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/test/asynchronous/test_encryption.py b/test/asynchronous/test_encryption.py index c3f6223384..3e52fb9e1b 100644 --- a/test/asynchronous/test_encryption.py +++ b/test/asynchronous/test_encryption.py @@ -693,6 +693,11 @@ def maybe_skip_scenario(self, test): self.skipTest("PYTHON-3706 flaky test on Windows/macOS") if "type=symbol" in desc: self.skipTest("PyMongo does not support the symbol type") + if ( + "timeoutms applied to listcollections to get collection schema" in desc + and not _IS_SYNC + ): + self.skipTest("PYTHON-4844 flaky test on async") def setup_scenario(self, scenario_def): """Override a test's setup.""" diff --git a/test/test_encryption.py b/test/test_encryption.py index 43c85e2c5b..64aa7ebf50 100644 --- a/test/test_encryption.py +++ b/test/test_encryption.py @@ -691,6 +691,11 @@ def maybe_skip_scenario(self, test): self.skipTest("PYTHON-3706 flaky test on Windows/macOS") if "type=symbol" in desc: self.skipTest("PyMongo does not support the symbol type") + if ( + "timeoutms applied to listcollections to get collection schema" in desc + and not _IS_SYNC + ): + self.skipTest("PYTHON-4844 flaky test on async") def setup_scenario(self, scenario_def): """Override a test's setup."""