When the first parametrized test takes a bit longer than usual, the zone
transfer in ns3 may succeed before the second parametrized test is even
started, and then watch_log_from_here() won't find the "Transfer status:
success" message in the named log. Using watch_log_from_start() instead
makes sure the test is more stable.
# Drop the RD flag from the query
msg.flags -= dns.flags.RD
ns1response = isctest.query.tcp(msg, "10.53.0.1")
- with servers[f"ns{ns}"].watch_log_from_here() as watcher:
+ with servers[f"ns{ns}"].watch_log_from_start() as watcher:
watcher.wait_for_line(
f"transfer of 'example/IN' from 10.53.0.{ns-1}#{named_port}: Transfer status: success",
timeout=90,