From adcdbcd0973c07b10335e87af43c5858207ac6f7 Mon Sep 17 00:00:00 2001 From: Artem Boldariev Date: Wed, 12 Oct 2022 18:46:54 +0300 Subject: [PATCH 1/2] doth system test - decrease HTTP listener quota size This commit reduces the size of HTTP listener quota from 300 (default) to 100 so that it would make hitting any global limits in case of running multiple tests in parallel in multiple containers unlikely. This way the need in opening many file descriptors of different kinds (e.g. client side connections and pipes) gets significantly reduced while the required code paths are still verified. (cherry picked from commit 354494cd10861ed3b5ebc568a4e26abb97a4ee12) --- bin/tests/system/doth/ns1/named.conf.in | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/tests/system/doth/ns1/named.conf.in b/bin/tests/system/doth/ns1/named.conf.in index 4510229056..6ce3675f8c 100644 --- a/bin/tests/system/doth/ns1/named.conf.in +++ b/bin/tests/system/doth/ns1/named.conf.in @@ -19,6 +19,7 @@ controls { http local { endpoints { "/dns-query"; "/alter"; }; + listener-clients 100; }; tls tls-forward-secrecy { From 5656f681bd0fd35df28252b68a7b3fe9f56fd36e Mon Sep 17 00:00:00 2001 From: Artem Boldariev Date: Wed, 24 Aug 2022 20:44:47 +0300 Subject: [PATCH 2/2] doth system test: increase transfers-in/out limits Sometimes doth test could intermittently fail shortly after start due to inability to complete a zone transfer in time. As it turned out, it could happen due to transfers-in/out limits. Initially the defaults were fine, but over time, especially when adding Strict/Mutual TLS, we added more than 10 zones so it became possible to hit the limits. This commit takes care of that by bumping the limits. (cherry picked from commit 95a551de7b91bbb10bab960860f45ed5a3e816d4) --- bin/tests/system/doth/ns1/named.conf.in | 2 ++ bin/tests/system/doth/ns2/named.conf.in | 2 ++ 2 files changed, 4 insertions(+) diff --git a/bin/tests/system/doth/ns1/named.conf.in b/bin/tests/system/doth/ns1/named.conf.in index 6ce3675f8c..500675f587 100644 --- a/bin/tests/system/doth/ns1/named.conf.in +++ b/bin/tests/system/doth/ns1/named.conf.in @@ -95,6 +95,8 @@ options { statistics-file "named.stats"; dnssec-validation yes; tcp-initial-timeout 1200; + transfers-in 100; + transfers-out 100; }; zone "." { diff --git a/bin/tests/system/doth/ns2/named.conf.in b/bin/tests/system/doth/ns2/named.conf.in index d871c57afc..3cb20425c7 100644 --- a/bin/tests/system/doth/ns2/named.conf.in +++ b/bin/tests/system/doth/ns2/named.conf.in @@ -49,6 +49,8 @@ options { ixfr-from-differences yes; check-integrity no; dnssec-validation yes; + transfers-in 100; + transfers-out 100; }; zone "." {