From: Remi Gacogne Date: Wed, 4 Dec 2024 14:39:39 +0000 (+0100) Subject: dnsdist: Check that we can set setWeightedBalancingFactor to a value > 1.0 X-Git-Tag: dnsdist-1.9.8~3^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=443e79bffd3f9882ef9addd534ce3c1d748fc09f;p=thirdparty%2Fpdns.git dnsdist: Check that we can set setWeightedBalancingFactor to a value > 1.0 --- diff --git a/regression-tests.dnsdist/test_Routing.py b/regression-tests.dnsdist/test_Routing.py index f72a2f45d6..b54b49c3b7 100644 --- a/regression-tests.dnsdist/test_Routing.py +++ b/regression-tests.dnsdist/test_Routing.py @@ -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}