Skip to content

Commit 3317c1a

Browse files
committed
more flaky allowed
1 parent bfd9293 commit 3317c1a

File tree

4 files changed

+2
-8
lines changed

4 files changed

+2
-8
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/asynchronous/utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,6 @@ def flaky(
193193
def decorator(target_func):
194194
@wraps(target_func)
195195
async def wrapper(*args, **kwargs):
196-
print(
197-
f"Hello from flaky {max_runs=} {min_passes=} {disable_flaky=} {is_cpython_linux=} {affects_cpython_linux=}"
198-
)
199196
passes = 0
200197
for i in range(max_runs):
201198
try:

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

test/utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,6 @@ def flaky(
191191
def decorator(target_func):
192192
@wraps(target_func)
193193
def wrapper(*args, **kwargs):
194-
print(
195-
f"Hello from flaky {max_runs=} {min_passes=} {disable_flaky=} {is_cpython_linux=} {affects_cpython_linux=}"
196-
)
197194
passes = 0
198195
for i in range(max_runs):
199196
try:

0 commit comments

Comments
 (0)