mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-25 06:02:08 +00:00
REGTESTS: make tcp-check_min-recv fail fast
This test was dependent on the check/server timeout to detect a failure, which is not logical since we also use that one as an upper bound for success in the second test, and that needlessly extends the test duration. Let's make sur the timeout strikes immediately with only 1 ms timeout. Now the total tests time is around 5.3-5.4s down from 8.7s in dev14. There is still quite some room for improvement in the peers tests which all wait 2s before starting but this will be more complicated.
This commit is contained in:
parent
419c11728d
commit
b89df41718
@ -39,6 +39,9 @@ haproxy h1 -conf {
|
||||
timeout client 5s
|
||||
|
||||
backend be1
|
||||
# must fail fast
|
||||
timeout check 1
|
||||
timeout server 1
|
||||
log ${S1_addr}:${S1_port} len 2048 local0
|
||||
option tcp-check
|
||||
option log-health-checks
|
||||
|
Loading…
Reference in New Issue
Block a user