Skip to content

Commit 11dfd73

Browse files
committed
Skip test on Windows
1 parent ebcf174 commit 11dfd73

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

test/asynchronous/test_client_bulk_write.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,8 +628,10 @@ async def asyncSetUp(self):
628628
@async_client_context.require_version_min(8, 0, 0, -24)
629629
@async_client_context.require_failCommand_fail_point
630630
# PYTHON-5290
631-
@flaky(max_runs=3 if sys.platform == "linux" else 5, affects_cpython_linux=True)
631+
@flaky(max_runs=3, affects_cpython_linux=True)
632632
async def test_timeout_in_multi_batch_bulk_write(self):
633+
if sys.platform == "win32":
634+
self.skipTest("PYTHON-3522 CSOT test runs too slow on Windows")
633635
_OVERHEAD = 500
634636

635637
internal_client = await self.async_rs_or_single_client(timeoutMS=None)

test/test_client_bulk_write.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,8 +624,10 @@ def setUp(self):
624624
@client_context.require_version_min(8, 0, 0, -24)
625625
@client_context.require_failCommand_fail_point
626626
# PYTHON-5290
627-
@flaky(max_runs=3 if sys.platform == "linux" else 5, affects_cpython_linux=True)
627+
@flaky(max_runs=3, affects_cpython_linux=True)
628628
def test_timeout_in_multi_batch_bulk_write(self):
629+
if sys.platform == "win32":
630+
self.skipTest("PYTHON-3522 CSOT test runs too slow on Windows")
629631
_OVERHEAD = 500
630632

631633
internal_client = self.rs_or_single_client(timeoutMS=None)

0 commit comments

Comments
 (0)