Skip to content

Commit 088b653

Browse files
committed
PYTHON-5492 Mark csot test as flaky on linux as well
1 parent e44ece0 commit 088b653

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.evergreen/scripts/install-dependencies.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ if ! command -v just &>/dev/null; then
4848
_TARGET="--target x86_64-pc-windows-msvc"
4949
fi
5050
_BIN_DIR=$PYMONGO_BIN_DIR
51+
mkdir -p ${_BIN_DIR}
5152
echo "Installing just..."
5253
mkdir -p "$_BIN_DIR" 2>/dev/null || true
5354
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- $_TARGET --to "$_BIN_DIR" || {
@@ -59,6 +60,7 @@ fi
5960
# Ensure uv is installed.
6061
if ! command -v uv &>/dev/null; then
6162
_BIN_DIR=$PYMONGO_BIN_DIR
63+
mkdir -p ${_BIN_DIR}
6264
echo "Installing uv..."
6365
# On most systems we can install directly.
6466
curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR="$_BIN_DIR" INSTALLER_NO_MODIFY_PATH=1 sh || {

test/asynchronous/test_pooling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ async def find_one():
429429
# maxConnecting = unbounded: 30+ connections in ~0.140+ seconds
430430
print(len(pool.conns))
431431

432-
@flaky(reason="PYTHON-5492")
432+
@flaky(reason="PYTHON-5492", affects_cpython_linux=True)
433433
@async_client_context.require_failCommand_appName
434434
async def test_csot_timeout_message(self):
435435
client = await self.async_rs_or_single_client(appName="connectionTimeoutApp")

test/test_pooling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ def find_one():
429429
# maxConnecting = unbounded: 30+ connections in ~0.140+ seconds
430430
print(len(pool.conns))
431431

432-
@flaky(reason="PYTHON-5492")
432+
@flaky(reason="PYTHON-5492", affects_cpython_linux=True)
433433
@client_context.require_failCommand_appName
434434
def test_csot_timeout_message(self):
435435
client = self.rs_or_single_client(appName="connectionTimeoutApp")

0 commit comments

Comments
 (0)