]> granicus.if.org Git - pdns/commitdiff
Remove timing sensitive counters from tests
authorPieter Lexis <pieter.lexis@powerdns.com>
Tue, 4 Aug 2015 09:40:46 +0000 (11:40 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Tue, 4 Aug 2015 09:40:46 +0000 (11:40 +0200)
regression-tests.nobackend/counters/command
regression-tests.nobackend/counters/expected_result

index 9263f345f8eb0f9e43ded5689be5c13b239682ab..46019dcb14ea6462cc462e8f09638b27cc521d24 100755 (executable)
@@ -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
index 3cc88fb421157158323f2e6ed0325dfbd19ea52c..92c11ce91540d958e04a03657c55193d1e494647 100644 (file)
@@ -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