REGTESTS: server: fix cli_add_server due to previous trace update

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.
This commit is contained in:
Amaury Denoyelle 2021-04-29 15:35:46 +02:00
parent eafd701dc5
commit 996190a70d
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ haproxy h1 -cli {
# invalid load-balancing algo # invalid load-balancing algo
send "experimental-mode on; add server other/s1 ${s1_addr}:${s1_port}" 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 # invalid mux proto
send "experimental-mode on; add server other2/s1 ${s1_addr}:${s1_port} proto h2" send "experimental-mode on; add server other2/s1 ${s1_addr}:${s1_port} proto h2"