From 83200a3431b0cc7d431eb6642b045c4561c0cec2 Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Tue, 29 Sep 2020 13:29:24 +0200 Subject: [PATCH] - Fix unit test for dnstap changes, so that it waits for the timer. --- doc/Changelog | 3 +++ testdata/dnstap.tdir/dnstap.test | 2 ++ 2 files changed, 5 insertions(+) diff --git a/doc/Changelog b/doc/Changelog index c2176f785..47aa0bb32 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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). diff --git a/testdata/dnstap.tdir/dnstap.test b/testdata/dnstap.tdir/dnstap.test index 04db17b27..d548e2dad 100644 --- a/testdata/dnstap.tdir/dnstap.test +++ b/testdata/dnstap.tdir/dnstap.test @@ -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.