diff --git a/test/test_encryption.py b/test/test_encryption.py index 314b8dfbbe..0b9087359e 100644 --- a/test/test_encryption.py +++ b/test/test_encryption.py @@ -639,6 +639,11 @@ def get_object_name(self, op): 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")