]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix unit test for dnstap changes, so that it waits for the timer.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 29 Sep 2020 11:29:24 +0000 (13:29 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 29 Sep 2020 11:29:24 +0000 (13:29 +0200)
doc/Changelog
testdata/dnstap.tdir/dnstap.test

index c2176f785b364bc1dddb2d022844c30c05d6742f..47aa0bb3295636049523a5b9cd685a153c162e88 100644 (file)
@@ -1,3 +1,6 @@
+28 September 2020: Wouter
+       - Fix unit test for dnstap changes, so that it waits for the timer.
+
 23 September 2020: Wouter
        - Fix #305: dnstap logging significantly affects unbound performance
          (regression in 1.11).
index 04db17b2749d20c429a595410b8197d8d4102f6a..d548e2dad784da2d3cdcab016a9d5d86415c7b12 100644 (file)
@@ -24,6 +24,8 @@ else
        exit 1
 fi
 
+echo "> wait for log to happen on timer"
+sleep 3
 echo "> check tap.log for dnstap info"
 # see if it logged the information in tap.log
 # wait for a moment for filesystem to catch up.