Skip to content
Snippets Groups Projects
Commit 088b1803 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

tests-extra/huge_rrset: increase dig timeout to improve robustness

parent 7c1cceaf
Branches
Tags
No related merge requests found
Pipeline #1317 passed with stages
in 8 minutes and 44 seconds
......@@ -36,7 +36,7 @@ resp = master.dig(HUGE, "AAAA", udp=False)
resp.check(rcode="SERVFAIL", noflags="TC")
resp.check_count(0, section="answer")
resp = master.dig(ZONE, "AXFR", tries=1, timeout=2)
resp = master.dig(ZONE, "AXFR", tries=1, timeout=5)
got_messages = 0
......@@ -47,8 +47,6 @@ for msg in resp.resp:
elif got_messages is 2:
isset(msg.rcode() == dns.rcode.SERVFAIL, "SERVFAIL")
break
else:
break
if got_messages != 2:
set_err("AXFR MSGCOUNT")
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment