From 29e7c0c0a31fb9641b3c1dd39752a0da961f7cde Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Mon, 18 Aug 2025 07:20:33 -0500 Subject: [PATCH] PYTHON-5500 Mark test_dns_failures_logging as flaky --- .evergreen/scripts/install-dependencies.sh | 2 ++ test/asynchronous/test_srv_polling.py | 1 + test/test_srv_polling.py | 1 + 3 files changed, 4 insertions(+) diff --git a/.evergreen/scripts/install-dependencies.sh b/.evergreen/scripts/install-dependencies.sh index 49fc614ca7..23d865d0d8 100755 --- a/.evergreen/scripts/install-dependencies.sh +++ b/.evergreen/scripts/install-dependencies.sh @@ -52,6 +52,8 @@ if ! command -v just &>/dev/null; then echo "Installing just..." mkdir -p "$_BIN_DIR" 2>/dev/null || true curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- $_TARGET --to "$_BIN_DIR" || { + # Remove just file if it exists (can be created if there was an install error). + rm -f ${_BIN_DIR}/just _pip_install rust-just just } echo "Installing just... done." diff --git a/test/asynchronous/test_srv_polling.py b/test/asynchronous/test_srv_polling.py index a89403b473..d6f0f6a18f 100644 --- a/test/asynchronous/test_srv_polling.py +++ b/test/asynchronous/test_srv_polling.py @@ -225,6 +225,7 @@ def response_callback(*args): await self.run_scenario(response_callback, False) + @flaky(reason="PYTHON-5500") async def test_dns_failures_logging(self): from dns import exception diff --git a/test/test_srv_polling.py b/test/test_srv_polling.py index 09579eda12..09c900cf09 100644 --- a/test/test_srv_polling.py +++ b/test/test_srv_polling.py @@ -225,6 +225,7 @@ def response_callback(*args): self.run_scenario(response_callback, False) + @flaky(reason="PYTHON-5500") def test_dns_failures_logging(self): from dns import exception