Skip to content

Commit 4b4d749

Browse files
authored
PYTHON-5500 Account for extra flakiness in test_dns_failures_logging (mongodb#2533)
1 parent 4b4c949 commit 4b4d749

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/asynchronous/test_srv_polling.py

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

226226
await self.run_scenario(response_callback, False)
227227

228-
@flaky(reason="PYTHON-5500")
228+
@flaky(reason="PYTHON-5500", max_runs=3)
229229
async def test_dns_failures_logging(self):
230230
from dns import exception
231231

test/test_srv_polling.py

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

226226
self.run_scenario(response_callback, False)
227227

228-
@flaky(reason="PYTHON-5500")
228+
@flaky(reason="PYTHON-5500", max_runs=3)
229229
def test_dns_failures_logging(self):
230230
from dns import exception
231231

0 commit comments

Comments
 (0)