From: Pieter Lexis Date: Tue, 29 May 2018 13:11:43 +0000 (+0200) Subject: Add API droprate to tests X-Git-Tag: dnsdist-1.3.1~38^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6a78f305750fb19958664b07b135c07d3ced9629;p=thirdparty%2Fpdns.git Add API droprate to tests --- diff --git a/regression-tests.dnsdist/test_API.py b/regression-tests.dnsdist/test_API.py index 5ceb946289..05bd95675c 100644 --- a/regression-tests.dnsdist/test_API.py +++ b/regression-tests.dnsdist/test_API.py @@ -97,7 +97,8 @@ class TestAPIBasics(DNSDistTest): for server in content['servers']: for key in ['id', 'latency', 'name', 'weight', 'outstanding', 'qpsLimit', - 'reuseds', 'state', 'address', 'pools', 'qps', 'queries', 'order', 'sendErrors']: + 'reuseds', 'state', 'address', 'pools', 'qps', 'queries', 'order', 'sendErrors', + 'dropRate']: self.assertIn(key, server) for key in ['id', 'latency', 'weight', 'outstanding', 'qpsLimit', 'reuseds',