From 2cfebf52cdd7d35cc2502aef90d262c28b684817 Mon Sep 17 00:00:00 2001 From: Shane Harvey Date: Thu, 15 Jun 2023 12:34:02 -0700 Subject: [PATCH] PYTHON-3706 Skip flaky test on Windows/macOS (#1241) --- test/test_encryption.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test_encryption.py b/test/test_encryption.py index 314b8dfbb..0b9087359 100644 --- a/test/test_encryption.py +++ b/test/test_encryption.py @@ -639,6 +639,11 @@ class TestSpec(SpecRunner): def maybe_skip_scenario(self, test): super().maybe_skip_scenario(test) desc = test["description"].lower() + if ( + "timeoutms applied to listcollections to get collection schema" in desc + and sys.platform in ("win32", "darwin") + ): + self.skipTest("PYTHON-3706 flaky test on Windows/macOS") if "type=symbol" in desc: self.skipTest("PyMongo does not support the symbol type")