]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
incidental fix: reduce a long timeout in dnstap test
authorEvan Hunt <each@isc.org>
Fri, 15 May 2020 20:10:36 +0000 (13:10 -0700)
committerEvan Hunt <each@isc.org>
Fri, 15 May 2020 20:19:33 +0000 (13:19 -0700)
the dnstap test was pausing for 20 seconds to search for a string in
named.run, which only appears if named is built with --enable-developer or
--enable-querytrace.

bin/tests/system/dnstap/tests.sh

index a666b7e01ff6d058847fdbdae42cae180c6e2d85..d8901db657e6a09164f33dcbaedbfab18ce47b4e 100644 (file)
@@ -44,11 +44,11 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
 # both the 'a.example/A' lookup and the './NS' lookup to ns1
-# need tocomplete before reopening/rolling for the counts to
+# need to complete before reopening/rolling for the counts to
 # be correct.
 
 $DIG $DIGOPTS @10.53.0.3 a.example > dig.out
-wait_for_log 20 "(./NS): query_reset" ns1/named.run || true
+wait_for_log 20 "(.): reset client" ns1/named.run || true
 
 # check three different dnstap reopen/roll methods:
 # ns1: dnstap-reopen; ns2: dnstap -reopen; ns3: dnstap -roll