From: Remi Gacogne Date: Fri, 16 May 2025 07:11:58 +0000 (+0200) Subject: dnsdist: Apply Miod's suggestion (thanks!) X-Git-Tag: dnsdist-2.0.0-alpha2~14^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15559%2Fhead;p=thirdparty%2Fpdns.git dnsdist: Apply Miod's suggestion (thanks!) Co-authored-by: Miod Vallat --- diff --git a/regression-tests.dnsdist/test_ProxyProtocol.py b/regression-tests.dnsdist/test_ProxyProtocol.py index 3085d30c7b..5619ae037b 100644 --- a/regression-tests.dnsdist/test_ProxyProtocol.py +++ b/regression-tests.dnsdist/test_ProxyProtocol.py @@ -453,7 +453,7 @@ class TestProxyProtocol(ProxyProtocolTest): server = self.getServerStats()[0] self.assertEqual(server['tcpNewConnections'], new_conn_before + number_of_queries) self.assertEqual(server['tcpReusedConnections'], reused_conn_before) - # in some cases existing (before this test) connections to the backend might still + # in some cases existing (established before this test) connections to the backend might still # exist, so we cannot enforce a strict "only 1 connection" check self.assertLessEqual(server['tcpMaxConcurrentConnections'], max_conns_before + 1) # but if we managed to add more than one connection to the existing ones, something is