]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Check that we can set setWeightedBalancingFactor to a value > 1.0
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 4 Dec 2024 14:39:39 +0000 (15:39 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 4 Dec 2024 14:39:39 +0000 (15:39 +0100)
regression-tests.dnsdist/test_Routing.py

index f72a2f45d6ebeb317f09e308f1e69dfef776a518..b54b49c3b7f6a915132ba6f361026525a7c15e23 100644 (file)
@@ -645,7 +645,7 @@ class TestRoutingWRandom(DNSDistTest):
     _config_params = ['_testServerPort', '_testServer2Port']
     _config_template = """
     setServerPolicy(wrandom)
-    setWeightedBalancingFactor(1.0)
+    setWeightedBalancingFactor(1.5)
     -- this is the default, but let's ensure we can reset it to the initial value
     setWeightedBalancingFactor(0)
     s1 = newServer{address="127.0.0.1:%s", weight=1}