]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix dnstap test to wait for log timer to see if queries are logged.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 19 Oct 2020 08:43:35 +0000 (10:43 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 19 Oct 2020 08:43:35 +0000 (10:43 +0200)
doc/Changelog
testdata/dnstap.tdir/dnstap.test

index 978febe61b0ac25841eb7f6ca59bf588457edade..7bcef8c94f4e437a3cd0281df839cb1105e0d83f 100644 (file)
@@ -7,6 +7,7 @@
          This adds the option http-notls-downstream: yesno to change that,
          and the dohclient test code has the -n option.
        - Fix python documentation warning on functions.rst inplace_cb_reply.
+       - Fix dnstap test to wait for log timer to see if queries are logged.
 
 16 October 2020: Wouter
        - Fix that the out of order TCP processing does not limit the
index d548e2dad784da2d3cdcab016a9d5d86415c7b12..fbf8565ffcacc9ed7468b2be5b4bb617d7131445 100644 (file)
@@ -59,6 +59,8 @@ dig @127.0.0.1 -p $UNBOUND_PORT q7.example.net.
 dig @127.0.0.1 -p $UNBOUND_PORT q8.example.net.
 dig @127.0.0.1 -p $UNBOUND_PORT q9.example.net.
 dig @127.0.0.1 -p $UNBOUND_PORT q10.example.net.
+echo "> wait for log to happen on timer"
+sleep 3
 for x in q1 q2 q3 q4 5 q6 q7 q8 q9 q10; do
        if grep "$x.example.net" tap.log >/dev/null; then :; else sleep 1; fi
        if grep "$x.example.net" tap.log >/dev/null; then :; else sleep 1; fi