From: Michal Nowak Date: Tue, 15 Aug 2023 15:23:30 +0000 (+0200) Subject: Mark test_send_timeout as flaky X-Git-Tag: v9.19.17~49^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=681b23c3985e592ff0548eee012183e0d992b99f;p=thirdparty%2Fbind9.git Mark test_send_timeout as flaky In some cases, BIND is not fast enough to fill the send buffer and manages to answer all queries, contrary to what the test expects. Repeat the check up to 3 times to limit this test instability. --- diff --git a/bin/tests/system/timeouts/tests_tcp_timeouts.py b/bin/tests/system/timeouts/tests_tcp_timeouts.py index 994a9d746cc..2e2a4b47e26 100644 --- a/bin/tests/system/timeouts/tests_tcp_timeouts.py +++ b/bin/tests/system/timeouts/tests_tcp_timeouts.py @@ -185,6 +185,7 @@ def test_long_axfr(named_port): assert soa is not None +@pytest_custom_markers.flaky(max_runs=3) def test_send_timeout(named_port): with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock: sock.connect(("10.53.0.1", named_port))