REGTESTS: check attach-srv out of order declaration

Previous patch fixed a regression which caused some config with
attach-srv to be rejected if the rule was declared before the target
server itself. To better detect this kind of error, mix the declaration
order in the corresponding regtest.
This commit is contained in:
Amaury Denoyelle 2024-01-02 14:40:25 +01:00
parent b4db3be86e
commit 0627f470df

View File

@ -23,12 +23,12 @@ frontend pub
bind "fd@${pub}" bind "fd@${pub}"
use_backend be-reverse use_backend be-reverse
backend be-reverse
server dev rhttp@
frontend priv frontend priv
bind "fd@${priv}" proto h2 bind "fd@${priv}" proto h2
tcp-request session attach-srv be-reverse/dev tcp-request session attach-srv be-reverse/dev
backend be-reverse
server dev rhttp@
} -start } -start
haproxy h_dev -conf { haproxy h_dev -conf {