From: David VaĊĦek Date: Fri, 28 May 2021 22:37:09 +0000 (+0200) Subject: fixup -- optional X-Git-Tag: v3.1.0~94^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f92aa4f0c90cda3140ab2b262ec31ea02874f8a;p=thirdparty%2Fknot-dns.git fixup -- optional --- diff --git a/tests-extra/tests/ixfr/many_zones/test.py b/tests-extra/tests/ixfr/many_zones/test.py index c7da24d99f..aa3d6ed158 100644 --- a/tests-extra/tests/ixfr/many_zones/test.py +++ b/tests-extra/tests/ixfr/many_zones/test.py @@ -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) diff --git a/tests-extra/tools/dnstest/server.py b/tests-extra/tools/dnstest/server.py index 7356846bbb..2c1d84528b 100644 --- a/tests-extra/tools/dnstest/server.py +++ b/tests-extra/tools/dnstest/server.py @@ -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)