- Fix dnstap test to wait for log timer to see if queries are logged.

This commit is contained in:
W.C.A. Wijngaards 2020-10-19 10:43:35 +02:00
parent c8390e390d
commit 5cd2d10fe5
2 changed files with 3 additions and 0 deletions

View file

@ -7,6 +7,7 @@
This adds the option http-notls-downstream: yesno to change that, This adds the option http-notls-downstream: yesno to change that,
and the dohclient test code has the -n option. and the dohclient test code has the -n option.
- Fix python documentation warning on functions.rst inplace_cb_reply. - 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 16 October 2020: Wouter
- Fix that the out of order TCP processing does not limit the - Fix that the out of order TCP processing does not limit the

View 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 q8.example.net.
dig @127.0.0.1 -p $UNBOUND_PORT q9.example.net. dig @127.0.0.1 -p $UNBOUND_PORT q9.example.net.
dig @127.0.0.1 -p $UNBOUND_PORT q10.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 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
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