From: Pieter Lexis Date: Tue, 4 Aug 2015 09:40:46 +0000 (+0200) Subject: Remove timing sensitive counters from tests X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~58^2~4^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65544eb6e4b6015066b960055d0e763e52a3e729;p=pdns Remove timing sensitive counters from tests --- diff --git a/regression-tests.nobackend/counters/command b/regression-tests.nobackend/counters/command index 9263f345f..46019dcb1 100755 --- a/regression-tests.nobackend/counters/command +++ b/regression-tests.nobackend/counters/command @@ -25,7 +25,7 @@ sleep 5 ../pdns/sdig ::1 $port example.com SOA tcp >&2 ../pdns/pdns_control --config-name= --no-config --socket-dir=./ 'show *' | \ - tr ',' '\n'| grep -v -E '(user-msec|sys-msec|uptime|udp-noport-errors|udp-in-errors|udp-recvbuf-errors|udp-sndbuf-errors)' | LC_ALL=C sort + tr ',' '\n'| grep -v -E '(user-msec|sys-msec|uptime|udp-noport-errors|udp-in-errors|udp-recvbuf-errors|udp-sndbuf-errors|-hit|-miss)' | LC_ALL=C sort kill $(cat pdns*.pid) rm pdns*.pid diff --git a/regression-tests.nobackend/counters/expected_result b/regression-tests.nobackend/counters/expected_result index 3cc88fb42..92c11ce91 100644 --- a/regression-tests.nobackend/counters/expected_result +++ b/regression-tests.nobackend/counters/expected_result @@ -10,12 +10,8 @@ incoming-notifications=0 key-cache-size=0 latency=0 meta-cache-size=1 -packetcache-hit=4 -packetcache-miss=4 packetcache-size=0 qsize-q=0 -query-cache-hit=3 -query-cache-miss=9 rd-queries=0 recursing-answers=0 recursing-questions=0