of the VTC file,
- Put these files in a directory with the same name as the code area concerned
by the bug ('peers', 'lua', 'acl' etc).
+
+Please note that most tests use a common set of timeouts defined by the
+environment variable HAPROXY_TEST_TIMEOUT. As much as possible, for regular I/O
+(i.e. not errors), please try to reuse that setting so that the value may
+easily be adjusted when running in some particularly slow environments, or be
+shortened to fail faster on developers' machines.
haproxy h1 -arg "-L A" -conf {
defaults
mode http
- timeout server 1s
- timeout connect 1s
- timeout client 1s
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
listen px
bind "fd@${px}"
haproxy h1 -arg "-L A" -conf {
defaults
mode http
- timeout server 1s
- timeout connect 1s
- timeout client 1s
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
listen px
bind "fd@${px}"
haproxy h1 -arg "-L A" -conf {
defaults
mode http
- timeout server 1s
- timeout connect 1s
- timeout client 1s
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
listen px
bind "fd@${px}"
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
haproxy h1 -conf {
defaults
- timeout client 1s
- timeout server 1s
- timeout connect 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
default-server no-check inter 200ms downinter 100ms rise 1 fall 1
backend be1
haproxy h1 -conf {
defaults
- timeout client 1s
- timeout server 1s
- timeout connect 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
balance first
default-server no-check inter 5ms downinter 1s rise 1 fall 1
haproxy h1 -conf {
defaults
- timeout client 1s
- timeout server 1s
- timeout connect 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
default-server check inter 200ms downinter 100s rise 1 fall 1
frontend fe1
haproxy h1 -conf {
defaults
- timeout client 1s
- timeout server 1s
- timeout connect 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
option log-health-checks
default-server inter 200ms downinter 100ms rise 1 fall 1
haproxy h1 -conf {
defaults
mode tcp
- timeout client 1s
- timeout server 1s
- timeout connect 100ms
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
backend be1
log ${S1_addr}:${S1_port} daemon
haproxy h1 -conf {
defaults
mode http
- timeout client 1s
- timeout server 1s
- timeout connect 100ms
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
option log-health-checks
backend be1
haproxy h1 -conf {
defaults
mode http
- timeout client 1s
- timeout server 1s
- timeout connect 200ms
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
option httpchk
option log-health-checks
defaults
mode http
- timeout client 1s
- timeout server 1s
- timeout connect 200ms
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
option httpchk GET /status HTTP/1.1\r\nHdr:\ must-be-removed
option log-health-checks
http-check send hdr Host "my-www-host" hdr X-test true body "test"
haproxy h1 -conf {
defaults
mode http
- timeout client 1s
- timeout server 1s
- timeout connect 100ms
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
option log-health-checks
backend be1
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe1
bind "fd@${fe1}"
haproxy h1 -conf {
defaults
mode tcp
- timeout client 1s
- timeout server 1s
- timeout connect 100ms
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
backend be1
log ${S1_addr}:${S1_port} daemon
haproxy h1 -conf {
defaults
mode tcp
- timeout client 1s
- timeout server 1s
- timeout connect 100ms
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
backend be1
log ${S1_addr}:${S1_port} daemon
haproxy h1 -conf {
defaults
mode tcp
- timeout client 1s
- timeout server 1s
- timeout connect 100ms
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
backend be1
log ${S1_addr}:${S1_port} daemon
haproxy h1 -conf {
defaults
mode tcp
- timeout client 1s
- timeout server 1s
- timeout connect 100ms
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
backend be1
log ${S1_addr}:${S1_port} daemon
haproxy h1 -conf {
defaults
mode tcp
- timeout client 1s
- timeout server 1s
- timeout connect 100ms
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
backend be1
log ${S1_addr}:${S1_port} daemon
haproxy h1 -conf {
defaults
mode tcp
- timeout client 1s
- timeout server 1s
- timeout connect 100ms
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
backend be1
log ${S1_addr}:${S1_port} daemon
defaults
mode tcp
- timeout client 1s
- timeout server 1s
- timeout connect 100ms
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe1
bind "fd@${fe1}" ssl crt ${testdir}/common.pem
haproxy h1 -conf {
defaults
mode tcp
- timeout client 1s
- timeout server 1s
- timeout connect 100ms
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
backend be1
log ${S1_addr}:${S1_port} daemon
defaults
mode tcp
- timeout client 1s
- timeout server 1s
- timeout connect 100ms
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
listen li1
bind "fd@${li1}"
haproxy h1 -conf {
defaults
mode tcp
- timeout client 1s
- timeout server 1s
- timeout connect 100ms
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
backend be1
log ${S_ok_addr}:${S_ok_port} daemon
haproxy h1 -conf {
defaults
mode tcp
- timeout connect 200ms
- timeout check 500ms
- timeout server 5s
- timeout client 5s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout check "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
backend be1
# must fail fast
haproxy h1 -conf {
defaults
mode tcp
- timeout connect 200ms
- timeout check 500ms
- timeout server 5s
- timeout client 5s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout check "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
#default-server check inter 200ms rise 1 fall 1
backend be1
haproxy h1 -conf {
defaults
mode tcp
- timeout client 1s
- timeout server 1s
- timeout connect 100ms
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
backend be1
log ${S1_addr}:${S1_port} daemon
defaults
mode http
- timeout client 20
- timeout server 20
- timeout connect 20
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
backend be1
server srv1 ${s1_addr}:${s1_port}
tune.ssl.default-dh-param 2048
defaults
- timeout client 20
- timeout server 20
- timeout connect 20
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
default-server downinter 1s inter 500 rise 1 fall 1
backend be2
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe-gzip
bind "fd@${fe_gzip}"
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe-gzip
bind "fd@${fe_gzip}"
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe-gzip
bind "fd@${fe_gzip}"
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe1
bind "fd@${fe1}"
haproxy h1 -conf {
defaults
log global
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen fe_tcp
bind "fd@${fe_tcp}"
defaults
mode http
- timeout client 1s
- timeout server 1s
- timeout connect 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
log global
listen http
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend a
bind "fd@${fe1}" accept-proxy
haproxy h2 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend a
bind "fd@${fe1}" accept-proxy
haproxy h3 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend a
bind "fd@${fe1}" accept-proxy
haproxy h4 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend a
bind "fd@${fe1}" accept-proxy
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
option socket-stats
listen stats
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
haproxy h1 -conf {
defaults
mode tcp
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe1
bind "fd@${fe1}"
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
option http-buffer-request
frontend fe
haproxy h1 -conf {
defaults
mode tcp
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe1
bind "fd@${fe1}"
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
# This frontend matches two base64 encoded values and does not need to
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe1
bind "fd@${fe1}"
haproxy h -conf {
defaults
mode http
- timeout client 1s
- timeout server 1s
- timeout connect 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
backend be
server srv ${s_addr}:${s_port}
defaults
mode http
option httplog
- timeout client 1s
- timeout server 1s
- timeout connect 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
log global
backend be1
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
errorfile 400 ${testdir}/errors/400.http
errorfile 403 ${testdir}/errors/403.http
errorfile 408 /dev/null
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
errorfile 400 ${testdir}/errors/400.http
errorfile 404 ${testdir}/errors/404.http
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe1
bind "fd@${fe1}"
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
errorfiles errors-2
errorfile 400 ${testdir}/errors/400.http
errorfile 404 ${testdir}/errors/404.http
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe1
bind "fd@${fe1}"
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen feh1
bind "fd@${feh1}"
#log stdout format raw daemon
mode http
option http-buffer-request
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen feh1
bind "fd@${feh1}"
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen fe1
bind "fd@${fe1}"
defaults
mode http
- timeout client 100ms
- timeout server 1s
- timeout connect 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
backend be1
tcp-response inspect-delay 100ms
haproxy h1 -conf {
defaults
mode http
- timeout client 100ms
- timeout server 1s
- timeout connect 1s
+ timeout client 100
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
backend be1
server srv1 ${s1_addr}:${s1_port}
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen fe1
bind "fd@${fe1}"
haproxy h1 -conf {
defaults
mode http
- timeout client 1s
- timeout server 1s
- timeout connect 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe1
bind "fd@${fe1}"
haproxy hap -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
# h1 frontend connected to h2 frontend
listen frt_h1_h2
haproxy h1 -conf {
defaults
mode http
- timeout connect 5s
- timeout client 5s
- timeout server 5s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}" proto h2
haproxy hapsrv -conf {
defaults
mode http
- timeout connect 5s
- timeout client 5s
- timeout server 5s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
haproxy hap -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
# proto X ws h1 -> websocket on h1
listen li
haproxy hap_srv -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen fe1
bind "fd@${fe1}"
haproxy hap_srv_bad_key -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen fe1
bind "fd@${fe1}"
haproxy hap -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen fe1
bind "fd@${fe1}"
mode http
log global
option httplog
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe1
bind "fd@${fe1}"
mode http
log global
option httplog
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe1
# accept-proxy so test client can send src ip
mode http
log global
option httplog
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe2
bind "fd@${fe2}"
haproxy h1 -conf {
defaults common
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
defaults def_front from common
http-request set-header x-frontend "%[fe_name]"
haproxy h2 -conf {
defaults common
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
defaults def_front from common
http-request allow
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe1
bind "fd@${fe1}"
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${feh1}"
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${feh1}"
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe1
bind "fd@${fe1}"
mode http
log global
option httplog
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe1
bind "fd@${fe1}"
mode http
log global
option httplog
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe1
bind "fd@${fe1}"
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe_path_merge_slashes
bind "fd@${fe_path_merge_slashes}"
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
option http-buffer-request
frontend fe1
syslog Slog1 -level info {
recv
- expect ~ "^.*timeout: 1000 1000.*$"
+ expect ~ "^.*timeout: 5000 5000.*$"
} -start
syslog Slog2 -level info {
recv
- expect ~ "^.*timeout: 1000 5000.*$"
+ expect ~ "^.*timeout: 5000 5000.*$"
} -start
syslog Slog3 -level info {
recv
- expect ~ "^.*timeout: 1000 3000.*$"
+ expect ~ "^.*timeout: 5000 3000.*$"
} -start
haproxy hap -conf {
defaults
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect 5s
+ timeout client 5s
+ timeout server 5s
log global
listen li1
defaults
mode http
- timeout connect 100ms
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen main-fe
bind "fd@${mainfe}"
defaults
mode http
option httplog
- timeout connect 1000
- timeout client 1000
- timeout server 1000
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe1
bind "fd@${fe_1}"
defaults
mode http
option httplog
- timeout connect 1000
- timeout client 1000
- timeout server 1000
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe1
bind "fd@${fe_1}"
defaults
log global
- timeout connect 3000
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
timeout client 1
- timeout server 10000
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe1
bind "fd@${fe_1}"
lua-load ${testdir}/bad_http_clt_req_duration.lua
defaults
- timeout client 1s
- timeout server 1s
- timeout connect 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
frontend f1
mode http
haproxy h1 -conf {
defaults
- timeout client 1s
- timeout connect 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
global
lua-load ${testdir}/close_wait_lf.lua
haproxy h1 -W -S -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend myfrontend
bind "fd@${my_fe}"
haproxy h1 -W -S -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend myfrontend
bind "fd@${my_fe}"
haproxy h1 -arg "-L A" -conf {
defaults
- timeout client 1s
- timeout connect 1s
- timeout server 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
backend stkt
stick-table type string size 10m store server_id,gpc0,conn_cur,conn_rate(50000) peers peers
haproxy h2 -arg "-L B" -conf {
defaults
mode http
- timeout client 1s
- timeout connect 1s
- timeout server 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
backend stkt
stick-table type string size 10m store server_id,gpc0,conn_cur,conn_rate(50000) peers peers
haproxy h3 -arg "-L C" -conf {
defaults
mode http
- timeout client 1s
- timeout connect 1s
- timeout server 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
backend stkt
stick-table type string size 10m store server_id,gpc0,conn_cur,conn_rate(50000) peers peers
haproxy h1 -arg "-L A" -conf {
defaults
- timeout client 1s
- timeout connect 1s
- timeout server 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
peers peers
haproxy h2 -arg "-L B" -conf {
defaults
mode http
- timeout client 1s
- timeout connect 1s
- timeout server 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
peers peers
bind "fd@${B}"
haproxy h3 -arg "-L C" -conf {
defaults
mode http
- timeout client 1s
- timeout connect 1s
- timeout server 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
peers peers
bind "fd@${C}"
haproxy h1 -arg "-L A" -conf {
defaults
- timeout client 1s
- timeout connect 1s
- timeout server 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
backend stkt
stick-table type string size 10m store server_id,gpc0,conn_cur,conn_rate(50000) peers peers
haproxy h2 -arg "-L B" -conf {
defaults
mode http
- timeout client 1s
- timeout connect 1s
- timeout server 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
backend stkt
stick-table type string size 10m store server_id,gpc0,conn_cur,conn_rate(50000) peers peers
haproxy h3 -arg "-L C" -conf {
defaults
mode http
- timeout client 1s
- timeout connect 1s
- timeout server 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
backend stkt
stick-table type string size 10m store server_id,gpc0,conn_cur,conn_rate(50000) peers peers
haproxy h4 -arg "-L D" -conf {
defaults
mode http
- timeout client 1s
- timeout connect 1s
- timeout server 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
backend stkt
stick-table type string size 10m store server_id,gpc0,conn_cur,conn_rate(50000) peers peers
haproxy h1 -arg "-L A" -conf {
defaults
- timeout client 1s
- timeout connect 1s
- timeout server 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
peers peers
table stkt type string size 10m store server_id,gpc0,conn_cur,conn_rate(50000)
haproxy h2 -arg "-L B" -conf {
defaults
mode http
- timeout client 1s
- timeout connect 1s
- timeout server 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
peers peers
table stkt type string size 10m store server_id,gpc0,conn_cur,conn_rate(50000)
haproxy h3 -arg "-L C" -conf {
defaults
mode http
- timeout client 1s
- timeout connect 1s
- timeout server 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
peers peers
table stkt type string size 10m store server_id,gpc0,conn_cur,conn_rate(50000)
haproxy h4 -arg "-L D" -conf {
defaults
mode http
- timeout client 1s
- timeout connect 1s
- timeout server 1s
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
backend stkt
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${fe}"
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe1
bind "fd@${fe1}"
mode http
log global
option httplog
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen testme
bind "fd@${testme}"
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${feS}"
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
# proxy to attach a ssl server
listen li-ssl
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${feS}"
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${feS}"
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend fe
bind "fd@${feS}"
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend myfrontend
bind "fd@${my_fe}"
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend myfrontend
bind "fd@${my_fe}"
haproxy h1 -conf-BAD {} {
defaults
- timeout connect 5000ms
- timeout client 50000ms
- timeout server 50000ms
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend my-front
filter spoe
option httplog
log stderr local0 debug err
option logasap
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen clear-lst
defaults
mode http
option httplog
- retries 0
+ retries 0
log stderr local0 debug err
option logasap
- timeout connect 100ms
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen clear-lst
defaults
mode http
option httplog
- retries 0
+ retries 0
log stderr local0 debug err
option logasap
- timeout connect 100ms
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen clear-lst
bind "fd@${clearlst}"
defaults
mode http
option httplog
- retries 0
+ retries 0
log stderr local0 debug err
option logasap
- timeout connect 100ms
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen clear-lst
bind "fd@${clearlst}"
defaults
mode http
option httplog
- retries 0
+ retries 0
log stderr local0 debug err
option logasap
- timeout connect 100ms
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen clear-lst
bind "fd@${clearlst}"
defaults
mode http
option httplog
- retries 0
+ retries 0
log stderr local0 debug err
option logasap
- timeout connect 100ms
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen clear-lst
bind "fd@${clearlst}"
option httplog
log stderr local0 debug err
option logasap
- timeout connect 100ms
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen clear-lst
bind "fd@${clearlst}"
defaults
mode http
option httplog
- retries 0
+ retries 0
log stderr local0 debug err
option logasap
- timeout connect 100ms
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen clear-lst
bind "fd@${clearlst}"
defaults
mode http
option httplog
- retries 0
+ retries 0
log stderr local0 debug err
option logasap
- timeout connect 100ms
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen clear-lst
bind "fd@${clearlst}"
option httplog
log stderr local0 debug err
option logasap
- timeout connect 100ms
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen clear-lst
bind "fd@${clearlst}"
option httplog
log stderr local0 debug err
option logasap
- timeout connect 100ms
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen clear-lst
bind "fd@${clearlst}"
option httplog
log stderr local0 debug err
option logasap
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen clear-lst
bind "fd@${clearlst}"
option httplog
log stderr local0 debug err
option logasap
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen clear-lst
defaults
mode http
option httplog
- retries 0
+ retries 0
log stderr local0 debug err
option logasap
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen clear-lst
option httplog
log stderr local0 debug err
option logasap
- timeout connect 100ms
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen clear-lst
bind "fd@${clearlst}"
.endif
defaults
- timeout connect 100ms
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
retries 0
listen clear_lst
option httplog
log stderr local0 debug err
option logasap
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen clear-lst
option httplog
log stderr local0 debug err
option logasap
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen clear-lst
option httplog
log stderr local0 debug err
option logasap
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen clear-lst
# Configuration file of 'h1' haproxy instance.
defaults
mode http
- timeout connect 5s
- timeout server 30s
- timeout client 30s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
frontend http1
bind "fd@${my_frontend_fd}"
haproxy h0 -conf {
defaults
mode http
- timeout connect 5s
- timeout client 5s
- timeout server 5s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
listen li
bind "fd@${fe1}"
haproxy h0 -conf {
defaults
- timeout connect 5000ms
- timeout client 50000ms
- timeout server 50000ms
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend test
mode http
haproxy h1 -arg "-L A" -conf {
defaults
mode http
- timeout server 1s
- timeout connect 1s
- timeout client 1s
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
log stdout format raw local0 debug
peers mypeers
haproxy h2 -arg "-L B" -conf {
defaults
mode http
- timeout server 1s
- timeout connect 1s
- timeout client 1s
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
peers mypeers
bind "fd@${B}"
haproxy h1 -arg "-L A" -conf {
defaults
mode http
- timeout server 1s
- timeout connect 1s
- timeout client 1s
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
log stdout format raw local0 debug
peers mypeers
haproxy h2 -arg "-L B" -conf {
defaults
mode http
- timeout server 1s
- timeout connect 1s
- timeout client 1s
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
peers mypeers
bind "fd@${B}"
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend echo
bind "fd@${fe1}" accept-proxy
haproxy h1 -conf {
defaults
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend stable
bind "fd@${fe1}"
haproxy h1 -conf {
defaults common
mode http
- timeout connect 1s
- timeout client 1s
- timeout server 1s
+ timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
+ timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
defaults def_front from common
tcp-request connection accept