From 6d9db3ac821337dfe1f2ea6fef5d855f516f6d35 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Fri, 12 Aug 2016 22:41:17 +0200 Subject: [PATCH] make test a bit more robust against travis or slow servers --- regression-tests.nobackend/distributor/command | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regression-tests.nobackend/distributor/command b/regression-tests.nobackend/distributor/command index dd59a3ab2..dd21aa0e6 100755 --- a/regression-tests.nobackend/distributor/command +++ b/regression-tests.nobackend/distributor/command @@ -18,11 +18,11 @@ $PDNS --daemon=no --local-ipv6=::1 --local-address=127.0.0.1 \ sleep 2 -for a in {1..20} +for a in {1..15} do $SDIG 127.0.0.1 $port $a.example.com A >&2 >/dev/null & done -sleep 1 +sleep 2 if [ $($PDNSCONTROL --config-name= --no-config --socket-dir=./ show overload-drops) -gt 0 ] then -- 2.40.0