]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTESTS: server: fix cli_add_server due to previous trace update
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 29 Apr 2021 13:35:46 +0000 (15:35 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 29 Apr 2021 13:38:02 +0000 (15:38 +0200)
Error output for dynamic server creation if invalid lb algo has changed
since previous commit :
MINOR: server: fix doc/trace on lb algo for dynamic server creation

The vtest regex should have been updated has well to match it.

reg-tests/server/cli_add_server.vtc

index 8663faf25872459cffc83a5d10562dd413878608..8bb4cd2e62fd134e32ccf1efefed444f722cc34d 100644 (file)
@@ -53,7 +53,7 @@ haproxy h1 -cli {
 
        # invalid load-balancing algo
        send "experimental-mode on; add server other/s1 ${s1_addr}:${s1_port}"
-       expect ~ "Backend must use a consistent hashing method for load balancing to support dynamic servers."
+       expect ~ "Backend must use a dynamic load balancing to support dynamic servers."
 
        # invalid mux proto
        send "experimental-mode on; add server other2/s1 ${s1_addr}:${s1_port} proto h2"