PYTHON-5428 Mark test_connection_close_does_not_block_other_operations as flaky (#2415)

This commit is contained in:
Steven Silvester 2025-07-02 11:22:12 -05:00 committed by GitHub
parent 0b2900d162
commit 2eb18f18b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,7 @@ import time
from asyncio import StreamReader, StreamWriter
from pathlib import Path
from test.asynchronous.helpers import ConcurrentRunner
from test.asynchronous.utils import flaky
from pymongo.asynchronous.pool import AsyncConnection
from pymongo.operations import _Op
@ -378,6 +379,7 @@ class TestPoolManagement(AsyncIntegrationTest):
@async_client_context.require_failCommand_appName
@async_client_context.require_test_commands
@async_client_context.require_async
@flaky(reason="PYTHON-5428")
async def test_connection_close_does_not_block_other_operations(self):
listener = CMAPHeartbeatListener()
client = await self.async_single_client(

View File

@ -24,6 +24,7 @@ import time
from asyncio import StreamReader, StreamWriter
from pathlib import Path
from test.helpers import ConcurrentRunner
from test.utils import flaky
from pymongo.operations import _Op
from pymongo.server_selectors import writable_server_selector
@ -378,6 +379,7 @@ class TestPoolManagement(IntegrationTest):
@client_context.require_failCommand_appName
@client_context.require_test_commands
@client_context.require_async
@flaky(reason="PYTHON-5428")
def test_connection_close_does_not_block_other_operations(self):
listener = CMAPHeartbeatListener()
client = self.single_client(