Skip to content
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
3 changes: 2 additions & 1 deletion test/asynchronous/test_pooling.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import socket
import sys
import time
from test.asynchronous.utils import async_get_pool, async_joinall
from test.asynchronous.utils import async_get_pool, async_joinall, flaky

from bson.codec_options import DEFAULT_CODEC_OPTIONS
from bson.son import SON
Expand Down Expand Up @@ -429,6 +429,7 @@ async def find_one():
# maxConnecting = unbounded: 30+ connections in ~0.140+ seconds
print(len(pool.conns))

@flaky(reason="PYTHON-5492")
@async_client_context.require_failCommand_appName
async def test_csot_timeout_message(self):
client = await self.async_rs_or_single_client(appName="connectionTimeoutApp")
Expand Down
3 changes: 2 additions & 1 deletion test/test_pooling.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import socket
import sys
import time
from test.utils import get_pool, joinall
from test.utils import flaky, get_pool, joinall

from bson.codec_options import DEFAULT_CODEC_OPTIONS
from bson.son import SON
Expand Down Expand Up @@ -429,6 +429,7 @@ def find_one():
# maxConnecting = unbounded: 30+ connections in ~0.140+ seconds
print(len(pool.conns))

@flaky(reason="PYTHON-5492")
@client_context.require_failCommand_appName
def test_csot_timeout_message(self):
client = self.rs_or_single_client(appName="connectionTimeoutApp")
Expand Down
Loading