]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
add a test for the overload limit in the distributor
authorbert hubert <bert.hubert@netherlabs.nl>
Fri, 12 Aug 2016 19:56:22 +0000 (21:56 +0200)
committerbert hubert <bert.hubert@powerdns.com>
Tue, 16 Aug 2016 08:39:08 +0000 (10:39 +0200)
regression-tests.nobackend/distributor/command

index aa57e5e456998a7502c9011dc3513b67cdaa43f3..dd59a3ab2fd2d93e675d7d9a23298320df4548ef 100755 (executable)
@@ -14,15 +14,15 @@ $PDNS --daemon=no --local-ipv6=::1 --local-address=127.0.0.1 \
   --module-dir=../regression-tests/modules --pipe-command=$(pwd)/distributor/slow.pl \
   --pipe-abi-version=5 \
   --overload-queue-length=10 --log-dns-queries --loglevel=9 \
-  --pipe-timeout=1500 &
+  --pipe-timeout=1000 &
 
 sleep 2
 
-for a in {1..15
+for a in {1..20
        do $SDIG 127.0.0.1 $port $a.example.com A >&2 >/dev/null &
 done 
 
-sleep 10
+sleep 1
 
 if [ $($PDNSCONTROL --config-name= --no-config --socket-dir=./ show overload-drops) -gt 0 ]
 then