mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
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.
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user