mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-08 20:39:55 +00:00
REGTESTS: make the unit explicit for very short timeouts
Two tests were using "timeout {client,server} 1" to forcefully trigger them, but a forthcoming patch will emit a warning for such small unitless values, so let's be explicit about the unit.
This commit is contained in:
parent
04465d25bc
commit
6d70da76d3
@ -39,8 +39,8 @@ haproxy h1 -conf {
|
||||
|
||||
backend be1
|
||||
# must fail fast
|
||||
timeout check 1
|
||||
timeout server 1
|
||||
timeout check 1ms
|
||||
timeout server 1ms
|
||||
log ${S1_addr}:${S1_port} len 2048 local0
|
||||
option tcp-check
|
||||
option log-health-checks
|
||||
|
@ -40,7 +40,7 @@ haproxy h1 -conf {
|
||||
defaults
|
||||
log global
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
timeout client 1
|
||||
timeout client 1ms
|
||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
||||
frontend fe1
|
||||
|
Loading…
Reference in New Issue
Block a user