Skip to content

PYTHON-5428 Mark test_connection_close_does_not_block_other_operations as flaky #2415

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions test/asynchronous/test_discovery_and_monitoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
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
Expand Down Expand Up @@ -378,6 +379,7 @@ async def test_pool_unpause(self):
@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(
Expand Down
2 changes: 2 additions & 0 deletions test/test_discovery_and_monitoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
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
Expand Down Expand Up @@ -378,6 +379,7 @@ def test_pool_unpause(self):
@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(
Expand Down
Loading