PYTHON-5428 Mark test_connection_close_does_not_block_other_operations as flaky (#2415)
This commit is contained in:
parent
0b2900d162
commit
2eb18f18b2
@ -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(
|
||||
|
||||
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user