Skip to content

Commit 8118aea

Browse files
authored
PYTHON-4844 - Skip async test_encryption.AsyncTestSpec.test_legacy_ti… (mongodb#1914)
1 parent c2338d8 commit 8118aea

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

test/asynchronous/test_encryption.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,11 @@ def maybe_skip_scenario(self, test):
693693
self.skipTest("PYTHON-3706 flaky test on Windows/macOS")
694694
if "type=symbol" in desc:
695695
self.skipTest("PyMongo does not support the symbol type")
696+
if (
697+
"timeoutms applied to listcollections to get collection schema" in desc
698+
and not _IS_SYNC
699+
):
700+
self.skipTest("PYTHON-4844 flaky test on async")
696701

697702
def setup_scenario(self, scenario_def):
698703
"""Override a test's setup."""

test/test_encryption.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,11 @@ def maybe_skip_scenario(self, test):
691691
self.skipTest("PYTHON-3706 flaky test on Windows/macOS")
692692
if "type=symbol" in desc:
693693
self.skipTest("PyMongo does not support the symbol type")
694+
if (
695+
"timeoutms applied to listcollections to get collection schema" in desc
696+
and not _IS_SYNC
697+
):
698+
self.skipTest("PYTHON-4844 flaky test on async")
694699

695700
def setup_scenario(self, scenario_def):
696701
"""Override a test's setup."""

0 commit comments

Comments
 (0)