Skip to content

Commit de332c5

Browse files
authored
PYTHON-5500 Mark test_dns_failures_logging as flaky (#2480)
1 parent bfa01c6 commit de332c5

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

.evergreen/scripts/install-dependencies.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ if ! command -v just &>/dev/null; then
5252
echo "Installing just..."
5353
mkdir -p "$_BIN_DIR" 2>/dev/null || true
5454
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- $_TARGET --to "$_BIN_DIR" || {
55+
# Remove just file if it exists (can be created if there was an install error).
56+
rm -f ${_BIN_DIR}/just
5557
_pip_install rust-just just
5658
}
5759
echo "Installing just... done."

test/asynchronous/test_srv_polling.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ def response_callback(*args):
225225

226226
await self.run_scenario(response_callback, False)
227227

228+
@flaky(reason="PYTHON-5500")
228229
async def test_dns_failures_logging(self):
229230
from dns import exception
230231

test/test_srv_polling.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ def response_callback(*args):
225225

226226
self.run_scenario(response_callback, False)
227227

228+
@flaky(reason="PYTHON-5500")
228229
def test_dns_failures_logging(self):
229230
from dns import exception
230231

0 commit comments

Comments
 (0)