mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-13 22:59:59 -04: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:
parent
5b703de733
commit
681b23c398
1 changed files with 1 additions and 0 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue