mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-27 03:46:03 -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.
(cherry picked from commit 681b23c398)
This commit is contained in:
parent
71a9e152f1
commit
c3cc8aa429
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