mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 15:17:01 +02:00
REGTESTS: restrict execution to a single thread group
When threads are enabled and running on a machine with multiple CCX or multiple nodes, thread groups are now enabled since 3.3-dev2, causing load-balancing algorithms to randomly fail due to incoming connections spreading over multiple groups and using different load balancing indexes. Let's just force "thread-groups 1" into all configs when threads are enabled to avoid this.
This commit is contained in:
parent
94d750421c
commit
48d5ef363d
@ -21,6 +21,11 @@ server s1 {
|
|||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h1 -arg "-L A" -conf {
|
haproxy h1 -arg "-L A" -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -47,6 +47,11 @@ server s1 {
|
|||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h1 -arg "-L A" -conf {
|
haproxy h1 -arg "-L A" -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -22,6 +22,11 @@ server s4 {
|
|||||||
} -repeat 2 -start
|
} -repeat 2 -start
|
||||||
|
|
||||||
haproxy h1 -arg "-L A" -conf {
|
haproxy h1 -arg "-L A" -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -22,6 +22,11 @@ server s4 {
|
|||||||
} -repeat 5 -start
|
} -repeat 5 -start
|
||||||
|
|
||||||
haproxy h1 -arg "-L A" -conf {
|
haproxy h1 -arg "-L A" -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -22,6 +22,11 @@ server s4 {
|
|||||||
} -repeat 2 -start
|
} -repeat 2 -start
|
||||||
|
|
||||||
haproxy h1 -arg "-L A" -conf {
|
haproxy h1 -arg "-L A" -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
5
reg-tests/cache/basic.vtc
vendored
5
reg-tests/cache/basic.vtc
vendored
@ -23,6 +23,11 @@ server s1 {
|
|||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
4
reg-tests/cache/caching_rules.vtc
vendored
4
reg-tests/cache/caching_rules.vtc
vendored
@ -113,6 +113,10 @@ server s2 {
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||||
# idle server connections being randomly used and randomly expiring
|
# idle server connections being randomly used and randomly expiring
|
||||||
# under us.
|
# under us.
|
||||||
|
4
reg-tests/cache/expires.vtc
vendored
4
reg-tests/cache/expires.vtc
vendored
@ -39,6 +39,10 @@ server s3 {
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||||
# idle server connections being randomly used and randomly expiring
|
# idle server connections being randomly used and randomly expiring
|
||||||
# under us.
|
# under us.
|
||||||
|
4
reg-tests/cache/if-modified-since.vtc
vendored
4
reg-tests/cache/if-modified-since.vtc
vendored
@ -39,6 +39,10 @@ server s1 {
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||||
# idle server connections being randomly used and randomly expiring
|
# idle server connections being randomly used and randomly expiring
|
||||||
# under us.
|
# under us.
|
||||||
|
4
reg-tests/cache/if-none-match.vtc
vendored
4
reg-tests/cache/if-none-match.vtc
vendored
@ -24,6 +24,10 @@ server s1 {
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||||
# idle server connections being randomly used and randomly expiring
|
# idle server connections being randomly used and randomly expiring
|
||||||
# under us.
|
# under us.
|
||||||
|
5
reg-tests/cache/post_on_entry.vtc
vendored
5
reg-tests/cache/post_on_entry.vtc
vendored
@ -21,6 +21,11 @@ server s1 {
|
|||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
4
reg-tests/cache/sample_fetches.vtc
vendored
4
reg-tests/cache/sample_fetches.vtc
vendored
@ -43,6 +43,10 @@ server s3 {
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||||
# idle server connections being randomly used and randomly expiring
|
# idle server connections being randomly used and randomly expiring
|
||||||
# under us.
|
# under us.
|
||||||
|
4
reg-tests/cache/vary.vtc
vendored
4
reg-tests/cache/vary.vtc
vendored
@ -165,6 +165,10 @@ server s2 {
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||||
# idle server connections being randomly used and randomly expiring
|
# idle server connections being randomly used and randomly expiring
|
||||||
# under us.
|
# under us.
|
||||||
|
4
reg-tests/cache/vary_accept_encoding.vtc
vendored
4
reg-tests/cache/vary_accept_encoding.vtc
vendored
@ -91,6 +91,10 @@ server s1 {
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||||
# idle server connections being randomly used and randomly expiring
|
# idle server connections being randomly used and randomly expiring
|
||||||
# under us.
|
# under us.
|
||||||
|
@ -56,6 +56,11 @@ server s38 {} -start
|
|||||||
server s39 {} -start
|
server s39 {} -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -238,6 +238,11 @@ server s37 {} -start
|
|||||||
server s39 {} -start
|
server s39 {} -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -92,6 +92,11 @@ syslog S4 -level notice {
|
|||||||
|
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -55,6 +55,11 @@ server s2 {
|
|||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -15,6 +15,11 @@ server s1 {
|
|||||||
|
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode tcp
|
mode tcp
|
||||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -24,6 +24,11 @@ syslog S1 -level notice {
|
|||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -108,6 +108,11 @@ syslog S6 -level notice {
|
|||||||
|
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -90,6 +90,11 @@ syslog S1 -level notice {
|
|||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -7,6 +7,11 @@ varnishtest "Test the HTTP directive monitor-uri"
|
|||||||
feature ignore_unknown_macro
|
feature ignore_unknown_macro
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -50,6 +50,11 @@ syslog S4 -level notice {
|
|||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode tcp
|
mode tcp
|
||||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -63,6 +63,11 @@ syslog S5 -level notice {
|
|||||||
|
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode tcp
|
mode tcp
|
||||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -48,6 +48,11 @@ syslog S4 -level notice {
|
|||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode tcp
|
mode tcp
|
||||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -29,6 +29,11 @@ syslog S2 -level notice {
|
|||||||
|
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode tcp
|
mode tcp
|
||||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -64,6 +64,11 @@ syslog S5 -level notice {
|
|||||||
|
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode tcp
|
mode tcp
|
||||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -48,6 +48,11 @@ syslog S4 -level notice {
|
|||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode tcp
|
mode tcp
|
||||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -24,6 +24,10 @@ syslog S3 -level notice {
|
|||||||
|
|
||||||
haproxy htst -conf {
|
haproxy htst -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
.if !ssllib_name_startswith(AWS-LC)
|
.if !ssllib_name_startswith(AWS-LC)
|
||||||
tune.ssl.default-dh-param 2048
|
tune.ssl.default-dh-param 2048
|
||||||
.endif
|
.endif
|
||||||
|
@ -16,6 +16,10 @@ syslog S_ok -level notice {
|
|||||||
|
|
||||||
haproxy htst -conf {
|
haproxy htst -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
ssl-default-bind-options ssl-min-ver TLSv1.2 ssl-max-ver TLSv1.3
|
ssl-default-bind-options ssl-min-ver TLSv1.2 ssl-max-ver TLSv1.3
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
|
@ -29,6 +29,10 @@ syslog S4 -level notice {
|
|||||||
|
|
||||||
haproxy htst -conf {
|
haproxy htst -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
.if !ssllib_name_startswith(AWS-LC)
|
.if !ssllib_name_startswith(AWS-LC)
|
||||||
tune.ssl.default-dh-param 2048
|
tune.ssl.default-dh-param 2048
|
||||||
.endif
|
.endif
|
||||||
|
@ -30,6 +30,11 @@ server s2 {
|
|||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode tcp
|
mode tcp
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -19,6 +19,11 @@ server s1 {
|
|||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode tcp
|
mode tcp
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -30,6 +30,11 @@ syslog S1 -level notice {
|
|||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode tcp
|
mode tcp
|
||||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -34,6 +34,10 @@ syslog S1 -level notice {
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
.if !ssllib_name_startswith(AWS-LC)
|
.if !ssllib_name_startswith(AWS-LC)
|
||||||
tune.ssl.default-dh-param 2048
|
tune.ssl.default-dh-param 2048
|
||||||
.endif
|
.endif
|
||||||
@ -85,6 +89,10 @@ syslog S6 -level notice {
|
|||||||
|
|
||||||
haproxy h2 -conf {
|
haproxy h2 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
.if !ssllib_name_startswith(AWS-LC)
|
.if !ssllib_name_startswith(AWS-LC)
|
||||||
tune.ssl.default-dh-param 2048
|
tune.ssl.default-dh-param 2048
|
||||||
.endif
|
.endif
|
||||||
|
@ -177,6 +177,11 @@ server s1 {
|
|||||||
|
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -106,6 +106,10 @@ server s1 {
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||||
# idle server connections being randomly used and randomly expiring
|
# idle server connections being randomly used and randomly expiring
|
||||||
# under us.
|
# under us.
|
||||||
|
@ -8,6 +8,10 @@ feature ignore_unknown_macro
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
tune.lua.bool-sample-conversion normal
|
tune.lua.bool-sample-conversion normal
|
||||||
lua-load ${testdir}/lua_validation.lua
|
lua-load ${testdir}/lua_validation.lua
|
||||||
|
|
||||||
|
@ -56,6 +56,10 @@ server s1 {
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||||
# idle server connections being randomly used and randomly expiring
|
# idle server connections being randomly used and randomly expiring
|
||||||
# under us.
|
# under us.
|
||||||
|
@ -111,6 +111,10 @@ server s2 {
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||||
# idle server connections being randomly used and randomly expiring
|
# idle server connections being randomly used and randomly expiring
|
||||||
# under us.
|
# under us.
|
||||||
|
@ -4,6 +4,11 @@ feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
|
|||||||
feature ignore_unknown_macro
|
feature ignore_unknown_macro
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -13,6 +13,10 @@ server s2 {
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
# this is needed since 3.3, and this test will be removed in 3.5.
|
# this is needed since 3.3, and this test will be removed in 3.5.
|
||||||
expose-deprecated-directives
|
expose-deprecated-directives
|
||||||
|
|
||||||
|
@ -6,6 +6,11 @@ feature ignore_unknown_macro
|
|||||||
|
|
||||||
# haproxy frontend
|
# haproxy frontend
|
||||||
haproxy hap -conf {
|
haproxy hap -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
timeout client 30s
|
timeout client 30s
|
||||||
timeout server 30s
|
timeout server 30s
|
||||||
|
@ -3,6 +3,11 @@ varnishtest "Test the http-reuse aggressive mode"
|
|||||||
feature ignore_unknown_macro
|
feature ignore_unknown_macro
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
timeout client 30s
|
timeout client 30s
|
||||||
timeout server 30s
|
timeout server 30s
|
||||||
|
@ -4,6 +4,11 @@ varnishtest "Test the http-reuse always mode"
|
|||||||
feature ignore_unknown_macro
|
feature ignore_unknown_macro
|
||||||
|
|
||||||
haproxy h1 -Ws -conf {
|
haproxy h1 -Ws -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
timeout client 30s
|
timeout client 30s
|
||||||
timeout server 30s
|
timeout server 30s
|
||||||
|
@ -9,6 +9,10 @@ feature ignore_unknown_macro
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
nbthread 1
|
nbthread 1
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
|
@ -4,6 +4,11 @@ varnishtest "Test the http-reuse with special connection parameters"
|
|||||||
feature ignore_unknown_macro
|
feature ignore_unknown_macro
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
timeout client 30s
|
timeout client 30s
|
||||||
timeout server 30s
|
timeout server 30s
|
||||||
|
@ -8,6 +8,10 @@ feature ignore_unknown_macro
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
nbthread 1
|
nbthread 1
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
|
@ -3,6 +3,11 @@ varnishtest "Test the http-reuse never mode"
|
|||||||
feature ignore_unknown_macro
|
feature ignore_unknown_macro
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
timeout client 30s
|
timeout client 30s
|
||||||
timeout server 30s
|
timeout server 30s
|
||||||
|
@ -3,6 +3,11 @@ varnishtest "Test the http-reuse safe mode"
|
|||||||
feature ignore_unknown_macro
|
feature ignore_unknown_macro
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
timeout client 30s
|
timeout client 30s
|
||||||
timeout server 30s
|
timeout server 30s
|
||||||
|
@ -24,6 +24,10 @@ syslog Slog_1 -repeat 8 -level info {
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
.if !ssllib_name_startswith(AWS-LC)
|
.if !ssllib_name_startswith(AWS-LC)
|
||||||
tune.ssl.default-dh-param 2048
|
tune.ssl.default-dh-param 2048
|
||||||
.endif
|
.endif
|
||||||
|
@ -3,6 +3,11 @@ varnishtest "Check that generic TLV IDs are sent properly"
|
|||||||
feature ignore_unknown_macro
|
feature ignore_unknown_macro
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
log global
|
log global
|
||||||
@ -42,6 +47,11 @@ client c1 -connect ${h1_feS_sock} {
|
|||||||
|
|
||||||
# Ensure that we achieve the same via a default-server.
|
# Ensure that we achieve the same via a default-server.
|
||||||
haproxy h2 -conf {
|
haproxy h2 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
log global
|
log global
|
||||||
|
@ -3,6 +3,11 @@ varnishtest "Check that the unique ID TLV is properly sent"
|
|||||||
feature ignore_unknown_macro
|
feature ignore_unknown_macro
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
timeout client 30s
|
timeout client 30s
|
||||||
timeout server 30s
|
timeout server 30s
|
||||||
|
@ -5,6 +5,11 @@ varnishtest "Check that the unique ID TLV is properly sent for servers with ALPN
|
|||||||
feature ignore_unknown_macro
|
feature ignore_unknown_macro
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
timeout client 30s
|
timeout client 30s
|
||||||
timeout server 30s
|
timeout server 30s
|
||||||
|
@ -6,6 +6,11 @@ feature ignore_unknown_macro
|
|||||||
# the client is reused, leading to connection resets.
|
# the client is reused, leading to connection resets.
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
@ -39,6 +44,11 @@ client c1 -connect ${h1_fe1_sock} {
|
|||||||
} -run
|
} -run
|
||||||
|
|
||||||
haproxy h2 -conf {
|
haproxy h2 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
@ -76,6 +86,11 @@ client c2 -connect ${h2_fe1_sock} {
|
|||||||
} -run
|
} -run
|
||||||
|
|
||||||
haproxy h3 -conf {
|
haproxy h3 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
@ -108,6 +123,11 @@ client c3 -connect ${h3_fe1_sock} {
|
|||||||
} -run
|
} -run
|
||||||
|
|
||||||
haproxy h4 -conf {
|
haproxy h4 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -10,6 +10,10 @@ server s1 {
|
|||||||
|
|
||||||
haproxy h_edge -conf {
|
haproxy h_edge -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
expose-experimental-directives
|
expose-experimental-directives
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
@ -33,6 +37,10 @@ backend be-reverse
|
|||||||
|
|
||||||
haproxy h_dev -conf {
|
haproxy h_dev -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
expose-experimental-directives
|
expose-experimental-directives
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
|
@ -7,6 +7,10 @@ barrier b1 cond 2
|
|||||||
|
|
||||||
haproxy h_edge -conf {
|
haproxy h_edge -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
expose-experimental-directives
|
expose-experimental-directives
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
|
@ -8,6 +8,10 @@ barrier b1 cond 2
|
|||||||
|
|
||||||
haproxy h_edge -conf {
|
haproxy h_edge -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
expose-experimental-directives
|
expose-experimental-directives
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
|
@ -42,6 +42,11 @@ server s1 {
|
|||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
timeout client 30s
|
timeout client 30s
|
||||||
timeout server 30s
|
timeout server 30s
|
||||||
|
@ -16,6 +16,11 @@ server s2 {
|
|||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -9,6 +9,11 @@ server s1 {
|
|||||||
} -repeat 3 -start
|
} -repeat 3 -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -9,6 +9,11 @@ server s1 {
|
|||||||
} -repeat 3 -start
|
} -repeat 3 -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -9,6 +9,11 @@ server s1 {
|
|||||||
} -repeat 3 -start
|
} -repeat 3 -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -11,6 +11,11 @@ server s1 {
|
|||||||
} -repeat 1 -start
|
} -repeat 1 -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
@ -98,6 +103,11 @@ client c1 -connect ${h1_fe_sock} {
|
|||||||
# TEST - 2
|
# TEST - 2
|
||||||
# negative starting index causes startup failure
|
# negative starting index causes startup failure
|
||||||
haproxy h2 -conf {
|
haproxy h2 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
@ -118,6 +128,11 @@ haproxy h2 -conf {
|
|||||||
# TEST - 3
|
# TEST - 3
|
||||||
# negative length causes startup failure
|
# negative length causes startup failure
|
||||||
haproxy h3 -conf {
|
haproxy h3 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
@ -138,6 +153,11 @@ haproxy h3 -conf {
|
|||||||
# TEST - 4
|
# TEST - 4
|
||||||
# 0 length causes startup failure
|
# 0 length causes startup failure
|
||||||
haproxy h4 -conf {
|
haproxy h4 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -10,6 +10,11 @@ server s1 {
|
|||||||
} -repeat 2 -start
|
} -repeat 2 -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -8,6 +8,11 @@ server s1 {
|
|||||||
} -repeat 3 -start
|
} -repeat 3 -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -53,6 +53,11 @@ server s2 {
|
|||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode tcp
|
mode tcp
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -10,6 +10,11 @@ server s1 {
|
|||||||
} -repeat 2 -start
|
} -repeat 2 -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -8,6 +8,11 @@ server s1 {
|
|||||||
} -repeat 3 -start
|
} -repeat 3 -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -9,6 +9,11 @@ server s1 {
|
|||||||
} -repeat 2 -start
|
} -repeat 2 -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -9,6 +9,10 @@ server s1 {
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||||
# idle server connections being randomly used and randomly expiring
|
# idle server connections being randomly used and randomly expiring
|
||||||
# under us.
|
# under us.
|
||||||
|
@ -55,6 +55,11 @@ server s2 {
|
|||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode tcp
|
mode tcp
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -8,6 +8,11 @@ server s1 {
|
|||||||
} -repeat 10 -start
|
} -repeat 10 -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -16,6 +16,10 @@ server s2 {
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||||
# idle server connections being randomly used and randomly expiring
|
# idle server connections being randomly used and randomly expiring
|
||||||
# under us.
|
# under us.
|
||||||
|
@ -10,6 +10,11 @@ server s1 {
|
|||||||
} -repeat 2 -start
|
} -repeat 2 -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -9,6 +9,11 @@ server s1 {
|
|||||||
} -repeat 2 -start
|
} -repeat 2 -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -8,6 +8,11 @@ server s1 {
|
|||||||
} -repeat 2 -start
|
} -repeat 2 -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -8,6 +8,11 @@ server s1 {
|
|||||||
} -repeat 3 -start
|
} -repeat 3 -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -48,6 +48,11 @@ server s1 {
|
|||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -39,6 +39,11 @@ server s {
|
|||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h -conf {
|
haproxy h -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -23,6 +23,10 @@ server s1 {
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
log ${S1_addr}:${S1_port} len 2048 local0 debug err
|
log ${S1_addr}:${S1_port} len 2048 local0 debug err
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
|
@ -8,6 +8,11 @@ server s1 {
|
|||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
timeout client 30s
|
timeout client 30s
|
||||||
timeout server 30s
|
timeout server 30s
|
||||||
|
@ -7,6 +7,11 @@ feature ignore_unknown_macro
|
|||||||
|
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -5,6 +5,11 @@ varnishtest "Test the http-error directive"
|
|||||||
feature ignore_unknown_macro
|
feature ignore_unknown_macro
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
http-errors errors-1
|
http-errors errors-1
|
||||||
errorfile 400 ${testdir}/errors/400-1.http
|
errorfile 400 ${testdir}/errors/400-1.http
|
||||||
errorfile 403 ${testdir}/errors/403-1.http
|
errorfile 403 ${testdir}/errors/403-1.http
|
||||||
|
@ -5,6 +5,11 @@ varnishtest "Test the custom errors for HTTP deny rules"
|
|||||||
feature ignore_unknown_macro
|
feature ignore_unknown_macro
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
http-errors errors-1
|
http-errors errors-1
|
||||||
errorfile 400 ${testdir}/errors/400-1.http
|
errorfile 400 ${testdir}/errors/400-1.http
|
||||||
errorfile 403 ${testdir}/errors/403-1.http
|
errorfile 403 ${testdir}/errors/403-1.http
|
||||||
|
@ -5,6 +5,11 @@ varnishtest "Test the errorfiles directive"
|
|||||||
feature ignore_unknown_macro
|
feature ignore_unknown_macro
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
http-errors errors-1
|
http-errors errors-1
|
||||||
errorfile 400 ${testdir}/errors/400-1.http
|
errorfile 400 ${testdir}/errors/400-1.http
|
||||||
errorfile 403 ${testdir}/errors/403-1.http
|
errorfile 403 ${testdir}/errors/403-1.http
|
||||||
|
@ -6,6 +6,11 @@ varnishtest "Test the HTTP return action with errorfiles"
|
|||||||
feature ignore_unknown_macro
|
feature ignore_unknown_macro
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
http-errors errors-2
|
http-errors errors-2
|
||||||
errorfile 400 ${testdir}/errors/400-2.http
|
errorfile 400 ${testdir}/errors/400-2.http
|
||||||
|
|
||||||
|
@ -235,6 +235,11 @@ syslog S1 -level info {
|
|||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -6,6 +6,10 @@ feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(3.0-dev0)'"
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||||
# idle server connections being randomly used and randomly expiring
|
# idle server connections being randomly used and randomly expiring
|
||||||
# under us.
|
# under us.
|
||||||
|
@ -115,6 +115,10 @@ server s1 {
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||||
# idle server connections being randomly used and randomly expiring
|
# idle server connections being randomly used and randomly expiring
|
||||||
# under us.
|
# under us.
|
||||||
|
@ -14,6 +14,11 @@ server s1 {
|
|||||||
|
|
||||||
# haproxy frontend
|
# haproxy frontend
|
||||||
haproxy hap -conf {
|
haproxy hap -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
timeout client 30s
|
timeout client 30s
|
||||||
timeout server 30s
|
timeout server 30s
|
||||||
|
@ -42,6 +42,10 @@ server s1 {
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||||
# idle server connections being randomly used and randomly expiring
|
# idle server connections being randomly used and randomly expiring
|
||||||
# under us.
|
# under us.
|
||||||
|
@ -65,6 +65,10 @@ syslog S2 -level info {
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||||
# idle server connections being randomly used and randomly expiring
|
# idle server connections being randomly used and randomly expiring
|
||||||
# under us.
|
# under us.
|
||||||
@ -111,6 +115,10 @@ haproxy h1 -conf {
|
|||||||
|
|
||||||
haproxy h2 -conf {
|
haproxy h2 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||||
# idle server connections being randomly used and randomly expiring
|
# idle server connections being randomly used and randomly expiring
|
||||||
# under us.
|
# under us.
|
||||||
|
@ -30,6 +30,10 @@ server s1 {
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||||
# idle server connections being randomly used and randomly expiring
|
# idle server connections being randomly used and randomly expiring
|
||||||
# under us.
|
# under us.
|
||||||
|
@ -34,6 +34,10 @@ server s1 {
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||||
# idle server connections being randomly used and randomly expiring
|
# idle server connections being randomly used and randomly expiring
|
||||||
# under us.
|
# under us.
|
||||||
|
@ -40,6 +40,11 @@ syslog S -level info {
|
|||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout client 100
|
timeout client 100
|
||||||
|
@ -24,6 +24,10 @@ server s2 {
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
log stderr len 4096 local0 debug
|
log stderr len 4096 local0 debug
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
|
@ -28,6 +28,10 @@ server s1 {
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
log stderr len 4096 local0 debug
|
log stderr len 4096 local0 debug
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
|
@ -77,6 +77,11 @@ server s2 {
|
|||||||
} -start
|
} -start
|
||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
|
global
|
||||||
|
.if feature(THREAD)
|
||||||
|
thread-groups 1
|
||||||
|
.endif
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user