]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTESTS: explicitly use "balance roundrobin" where RR is needed
authorWilly Tarreau <w@1wt.eu>
Thu, 4 Sep 2025 06:18:53 +0000 (08:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 4 Sep 2025 06:18:53 +0000 (08:18 +0200)
A few tests explicitly rely on the server ordering granted by
"balance roundrobin", but didn't specify the balance algorithm.
As it will change soon, let's explicit it.

reg-tests/sample_fetches/srv_name.vtc
reg-tests/server/cli_delete_dynamic_server.vtc

index 62714a22da90817295466d40688ea986fcb5f438..528a5ae0a26ac92c5c99751d1bc2f9e29bac34e7 100644 (file)
@@ -31,6 +31,7 @@ haproxy h1 -conf {
         default_backend be
 
     backend be
+        balance roundrobin
         server srv1 ${s1_addr}:${s1_port}
         server srv2 ${s2_addr}:${s2_port}
 } -start
index 78245ac64957164f1f06332df67a530b85f0225f..cc3fa497d4099cf6d6f8dc3b77f74d13ba5cf67b 100644 (file)
@@ -36,6 +36,7 @@ haproxy h1 -conf {
                default_backend test
 
        backend test
+               balance roundrobin
                server s1 ${s1_addr}:${s1_port}
 } -start