diff --git a/bin/tests/system/reclimit/tests.sh b/bin/tests/system/reclimit/tests.sh index 76889eca4c..c15225488f 100644 --- a/bin/tests/system/reclimit/tests.sh +++ b/bin/tests/system/reclimit/tests.sh @@ -282,7 +282,8 @@ echo_i "checking that priority names under the max-types-per-name limit get cach for rrtype in AAAA MX NS; do check_manytypes 1 manytypes.big "${rrtype}" NOERROR big SOA 120 || ret=1 done -# Wait at least 1 second +# Wait at least 1 second for the TTL to decrement +sleep 1 for rrtype in AAAA MX NS; do check_manytypes 2 manytypes.big "${rrtype}" NOERROR big SOA "" 120 || ret=1 done @@ -358,7 +359,8 @@ echo_i "checking that priority NXDOMAIN names over the max-types-per-name limit for rrtype in AAAA MX NS; do check_manytypes 1 manytypes.big "${rrtype}" NOERROR big SOA 120 || ret=1 done -# Wait at least 1 second +# Wait at least 1 second for the TTL to decrement +sleep 1 for rrtype in AAAA MX NS; do check_manytypes 2 manytypes.big "${rrtype}" NOERROR big SOA "" 120 || ret=1 done