REGTESTS: startup: add alternatives values in automatic_maxconn.vtc

The calculated maxconn could produce other values when compiled with
debug options.

Must be backported where 6b6f082 was backported (as far as 2.5).

(cherry picked from commit f98b3b1107208499d8b8d70f63356507c81edecd)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 20bd4a8d1507e3ee6d52cc5af6c23a006b0e3a75)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
This commit is contained in:
William Lallemand 2022-12-14 11:04:58 +01:00 committed by Christopher Faulet
parent daab6c2a35
commit a55ada3b0e

View File

@ -23,7 +23,7 @@ haproxy h1 -arg "-m 1024" -conf {
haproxy h1 -cli {
send "show info"
expect ~ ".*Maxconn: 29000\n.*"
expect ~ ".*Maxconn: (29000|28000)\n.*"
}
haproxy h2 -arg "-m 384" -conf {
@ -31,7 +31,7 @@ haproxy h2 -arg "-m 384" -conf {
haproxy h2 -cli {
send "show info"
expect ~ ".*Maxconn: 11000\n.*"
expect ~ ".*Maxconn: (11000|10000)\n.*"
}
haproxy h3 -arg "-m 256" -conf {
@ -39,7 +39,7 @@ haproxy h3 -arg "-m 256" -conf {
haproxy h3 -cli {
send "show info"
expect ~ ".*Maxconn: 7300\n.*"
expect ~ ".*Maxconn: (7300|7000)\n.*"
}
# 1 SSL front but no back