mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 23:27:04 +02:00
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:
parent
b4db3be86e
commit
0627f470df
@ -23,12 +23,12 @@ frontend pub
|
||||
bind "fd@${pub}"
|
||||
use_backend be-reverse
|
||||
|
||||
backend be-reverse
|
||||
server dev rhttp@
|
||||
|
||||
frontend priv
|
||||
bind "fd@${priv}" proto h2
|
||||
tcp-request session attach-srv be-reverse/dev
|
||||
|
||||
backend be-reverse
|
||||
server dev rhttp@
|
||||
} -start
|
||||
|
||||
haproxy h_dev -conf {
|
||||
|
Loading…
Reference in New Issue
Block a user