PYTHON-3706 Skip flaky test on Windows/macOS (#1241)

This commit is contained in:
Shane Harvey 2023-06-15 12:34:02 -07:00 committed by GitHub
parent ada1280ad3
commit 2cfebf52cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")