Commit d5f1864f authored by Marek Vavruša's avatar Marek Vavruša

tests-extra: badrecord test SERVFAIL is okay

parent 989e95f4
......@@ -16,7 +16,10 @@ t.start()
# Check if the server is answering and zone _isn't_ loaded
resp = master.dig("badrecord.", "SOA", udp=True)
resp.check(rcode="REFUSED")
# @note Either REFUSED or SERVFAIL is fine, Knot treats unloadable
# zone as expired while the older version ignored such zone.
resp.check(rcode="SERVFAIL")
# Stop master.
master.stop()
......
Markdown is supported
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