From 65544eb6e4b6015066b960055d0e763e52a3e729 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Tue, 4 Aug 2015 11:40:46 +0200 Subject: [PATCH] Remove timing sensitive counters from tests --- regression-tests.nobackend/counters/command | 2 +- regression-tests.nobackend/counters/expected_result | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) 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 -- 2.40.0