fixup -- optional

This commit is contained in:
David Vašek 2021-05-29 00:37:09 +02:00
parent 4600659cd0
commit 7f92aa4f0c
2 changed files with 2 additions and 5 deletions

View file

@ -24,10 +24,6 @@ for zone in zones:
master.reload()
# Provide some more time for master to get ready.
if master.valgrind:
t.sleep(15)
# Wait for IXFR to slave.
master.zones_wait(zones, serials_init)
slave.zones_wait(zones, serials_init)

View file

@ -669,7 +669,8 @@ class Server(object):
check_log("ZONE WAIT %s: %s" % (self.name, zone.name))
for t in range(60):
attempts = 60 if not self.valgrind else 68
for t in range(attempts):
try:
resp = self.dig(zone.name, "SOA", udp=udp, tries=1,
timeout=2, log_no_sep=True, tsig=tsig)