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)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 1 Oct 2025 14:48:34 +0000 (16:48 +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.

(cherry picked from commit 60931ceae9bd52db27dde002af2fe3232cd2b811)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 7f5293656fa3963cf4cee6376b20eb8a15703901)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 0cc80c44505dfa528fecc68c3a460ab15e28d6ed)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>

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

index 900957e..57739c7 100644 (file)
@@ -28,6 +28,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 e667641..8ce7dae 100644 (file)
@@ -33,6 +33,7 @@ haproxy h1 -conf {
                default_backend test
 
        backend test
+               balance roundrobin
                server s1 ${s1_addr}:${s1_port}
 } -start