REGTESTS: enable -dW on almost all tests to fail on warnings
Now that warnings were almost all removed, let's enable zero-warning via -dW. All tests were adjusted, but two: - mcli/mcli_start_progs.vtc: the programs section currently cannot be silenced - stats/stats-file.vtc: the warning comes from the stats file itself on comment lines. All other ones are now OK.
This commit is contained in:
parent
efd745e22d
commit
9d511b3c27
|
@ -21,7 +21,7 @@ server s4 {
|
|||
txresp -hdr "Server: s4"
|
||||
} -repeat 2 -start
|
||||
|
||||
haproxy h1 -arg "-L A" -conf {
|
||||
haproxy h1 -arg "-L A" -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -22,7 +22,7 @@ server s4 {
|
|||
txresp -hdr "Server: s4" -body "s4"
|
||||
} -repeat 5 -start
|
||||
|
||||
haproxy h1 -arg "-L A" -conf {
|
||||
haproxy h1 -arg "-L A" -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -21,7 +21,7 @@ server s4 {
|
|||
txresp -hdr "Server: s4"
|
||||
} -repeat 2 -start
|
||||
|
||||
haproxy h1 -arg "-L A" -conf {
|
||||
haproxy h1 -arg "-L A" -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -22,7 +22,7 @@ server s1 {
|
|||
chunkedlen 0
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -113,7 +113,7 @@ server s2 {
|
|||
-bodylen 170
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||
# idle server connections being randomly used and randomly expiring
|
||||
|
|
|
@ -39,7 +39,7 @@ server s3 {
|
|||
chunkedlen 0
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||
# idle server connections being randomly used and randomly expiring
|
||||
|
|
|
@ -39,7 +39,7 @@ server s1 {
|
|||
chunkedlen 0
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||
# idle server connections being randomly used and randomly expiring
|
||||
|
|
|
@ -24,7 +24,7 @@ server s1 {
|
|||
chunkedlen 0
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||
# idle server connections being randomly used and randomly expiring
|
||||
|
|
|
@ -22,7 +22,7 @@ server s1 {
|
|||
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -41,7 +41,7 @@ server s3 {
|
|||
chunkedlen 0
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||
# idle server connections being randomly used and randomly expiring
|
||||
|
|
|
@ -165,7 +165,7 @@ server s2 {
|
|||
-bodylen 57
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||
# idle server connections being randomly used and randomly expiring
|
||||
|
|
|
@ -91,7 +91,7 @@ server s1 {
|
|||
} -start
|
||||
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||
# idle server connections being randomly used and randomly expiring
|
||||
|
|
|
@ -56,7 +56,7 @@ server s37 {} -start
|
|||
server s38 {} -start
|
||||
server s39 {} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -238,7 +238,7 @@ server s35 {} -start
|
|||
server s37 {} -start
|
||||
server s39 {} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -92,7 +92,7 @@ syslog S4 -level notice {
|
|||
} -start
|
||||
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -54,7 +54,7 @@ server s2 {
|
|||
txresp
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -14,7 +14,7 @@ server s1 {
|
|||
} -start
|
||||
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode tcp
|
||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -23,7 +23,7 @@ syslog S1 -level notice {
|
|||
expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Health check for server be1/srv succeeded.*code: 202"
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -108,7 +108,7 @@ syslog S6 -level notice {
|
|||
} -start
|
||||
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -89,7 +89,7 @@ syslog S1 -level notice {
|
|||
expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Health check for server be[0-9]/srv succeeded.*code: 200"
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -6,7 +6,7 @@ varnishtest "Test the HTTP directive monitor-uri"
|
|||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -49,7 +49,7 @@ syslog S4 -level notice {
|
|||
expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Health check for server be4/srv succeeded, reason: Layer7 check passed.+info: \"Success\".+check duration: [[:digit:]]+ms, status: 1/1 UP."
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode tcp
|
||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -62,7 +62,7 @@ syslog S5 -level notice {
|
|||
} -start
|
||||
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode tcp
|
||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -47,7 +47,7 @@ syslog S4 -level notice {
|
|||
expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Health check for server be4/srv succeeded, reason: Layer7 check passed.+info: \"PostgreSQL server is ok\".+check duration: [[:digit:]]+ms, status: 1/1 UP."
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode tcp
|
||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -28,7 +28,7 @@ syslog S2 -level notice {
|
|||
} -start
|
||||
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode tcp
|
||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -63,7 +63,7 @@ syslog S5 -level notice {
|
|||
} -start
|
||||
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode tcp
|
||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -47,7 +47,7 @@ syslog S4 -level notice {
|
|||
expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Health check for server be4/srv failed, reason: Layer7 invalid response.+info: \"unsupported version\".+check duration: [[:digit:]]+ms, status: 0/1 DOWN."
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode tcp
|
||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -22,7 +22,7 @@ syslog S3 -level notice {
|
|||
expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Health check for server be3/srv failed, reason: Layer6 invalid response.+check duration: [[:digit:]]+ms, status: 0/1 DOWN."
|
||||
} -start
|
||||
|
||||
haproxy htst -conf {
|
||||
haproxy htst -arg '-dW' -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
|
@ -46,7 +46,7 @@ haproxy htst -conf {
|
|||
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode tcp
|
||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -27,7 +27,7 @@ syslog S4 -level notice {
|
|||
} -start
|
||||
|
||||
|
||||
haproxy htst -conf {
|
||||
haproxy htst -arg '-dW' -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
|
@ -62,7 +62,7 @@ haproxy htst -conf {
|
|||
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode tcp
|
||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -29,7 +29,7 @@ server s2 {
|
|||
expect_close
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode tcp
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -18,7 +18,7 @@ syslog S2 -level notice {
|
|||
server s1 {
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode tcp
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -29,7 +29,7 @@ syslog S1 -level notice {
|
|||
expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Health check for server be1/srv succeeded, reason: Layer7 check passed.+code: 200.+check duration: [[:digit:]]+ms, status: 1/1 UP."
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode tcp
|
||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -32,7 +32,7 @@ syslog S1 -level notice {
|
|||
expect ~ "[^:\\[ ]\\[${h1_pid}\\]: .* fe1~ be1/srv1 .* 200 [[:digit:]]+ - - ---- .* \"OPTIONS \\* HTTP/1.1\""
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
|
@ -83,7 +83,7 @@ syslog S6 -level notice {
|
|||
expect ~ "[^:\\[ ]\\[${h2_pid}\\]: Health check for server be6/srv3 succeeded, reason: Layer7 check passed.+code: 200.+check duration: [[:digit:]]+ms, status: 1/1 UP."
|
||||
} -start
|
||||
|
||||
haproxy h2 -conf {
|
||||
haproxy h2 -arg '-dW' -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
|
|
|
@ -176,7 +176,7 @@ server s1 {
|
|||
} -start
|
||||
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -104,7 +104,7 @@ server s1 {
|
|||
} -start
|
||||
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||
# idle server connections being randomly used and randomly expiring
|
||||
|
|
|
@ -6,7 +6,7 @@ varnishtest "Compression validation"
|
|||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
lua-load ${testdir}/lua_validation.lua
|
||||
|
||||
|
|
|
@ -109,7 +109,7 @@ server s2 {
|
|||
} -start
|
||||
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||
# idle server connections being randomly used and randomly expiring
|
||||
|
|
|
@ -3,7 +3,7 @@ varnishtest "Test multi-level client source and destination addresses"
|
|||
feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
|
||||
feature ignore_unknown_macro
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -11,7 +11,7 @@ server s2 {
|
|||
txresp
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
log global
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -5,7 +5,7 @@ varnishtest "h2 glitches"
|
|||
feature ignore_unknown_macro
|
||||
|
||||
# haproxy frontend
|
||||
haproxy hap -conf {
|
||||
haproxy hap -arg '-dW' -conf {
|
||||
defaults
|
||||
timeout client 30s
|
||||
timeout server 30s
|
||||
|
|
|
@ -2,7 +2,7 @@ varnishtest "Test the http-reuse aggressive mode"
|
|||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
timeout client 30s
|
||||
timeout server 30s
|
||||
|
|
|
@ -2,7 +2,7 @@ varnishtest "Test the http-reuse always mode"
|
|||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
haproxy h1 -W -conf {
|
||||
haproxy h1 -W -arg '-dW' -conf {
|
||||
defaults
|
||||
timeout client 30s
|
||||
timeout server 30s
|
||||
|
|
|
@ -9,7 +9,7 @@ feature cmd "$HAPROXY_PROGRAM -cc 'feature(TPROXY)'"
|
|||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
timeout client 30s
|
||||
timeout server 30s
|
||||
|
|
|
@ -4,7 +4,7 @@ varnishtest "Test the http-reuse with special connection parameters"
|
|||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
timeout client 30s
|
||||
timeout server 30s
|
||||
|
|
|
@ -8,7 +8,7 @@ varnishtest "Test the proper interaction between http-reuse and dispatch mode"
|
|||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
timeout client 30s
|
||||
timeout server 30s
|
||||
|
|
|
@ -2,7 +2,7 @@ varnishtest "Test the http-reuse never mode"
|
|||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
timeout client 30s
|
||||
timeout server 30s
|
||||
|
|
|
@ -2,7 +2,7 @@ varnishtest "Test the http-reuse safe mode"
|
|||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
timeout client 30s
|
||||
timeout server 30s
|
||||
|
|
|
@ -22,7 +22,7 @@ syslog Slog_1 -repeat 8 -level info {
|
|||
expect ~ "ssl-offload-http/http .* \"POST (https://.*:${h1_ssl_port})?/[1-8] HTTP/(2\\.0|1\\.1)\""
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
.if !ssllib_name_startswith(AWS-LC)
|
||||
tune.ssl.default-dh-param 2048
|
||||
|
|
|
@ -2,7 +2,7 @@ varnishtest "Check that generic TLV IDs are sent properly"
|
|||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
log global
|
||||
|
@ -41,7 +41,7 @@ client c1 -connect ${h1_feS_sock} {
|
|||
} -run
|
||||
|
||||
# Ensure that we achieve the same via a default-server.
|
||||
haproxy h2 -conf {
|
||||
haproxy h2 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
log global
|
||||
|
|
|
@ -2,7 +2,7 @@ varnishtest "Check that the unique ID TLV is properly sent"
|
|||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
timeout client 30s
|
||||
timeout server 30s
|
||||
|
|
|
@ -4,7 +4,7 @@ varnishtest "Check that the unique ID TLV is properly sent for servers with ALPN
|
|||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
timeout client 30s
|
||||
timeout server 30s
|
||||
|
|
|
@ -7,7 +7,7 @@ feature ignore_unknown_macro
|
|||
# We need one HAProxy for each test, because apparently the connection by
|
||||
# the client is reused, leading to connection resets.
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
@ -40,7 +40,7 @@ client c1 -connect ${h1_fe1_sock} {
|
|||
expect resp.http.echo == "3132333435"
|
||||
} -run
|
||||
|
||||
haproxy h2 -conf {
|
||||
haproxy h2 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
@ -77,7 +77,7 @@ client c2 -connect ${h2_fe1_sock} {
|
|||
expect resp.http.echo == <undef>
|
||||
} -run
|
||||
|
||||
haproxy h3 -conf {
|
||||
haproxy h3 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
@ -109,7 +109,7 @@ client c3 -connect ${h3_fe1_sock} {
|
|||
expect_close
|
||||
} -run
|
||||
|
||||
haproxy h4 -conf {
|
||||
haproxy h4 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -8,7 +8,7 @@ server s1 {
|
|||
txresp
|
||||
} -start
|
||||
|
||||
haproxy h_edge -conf {
|
||||
haproxy h_edge -arg '-dW' -conf {
|
||||
global
|
||||
expose-experimental-directives
|
||||
|
||||
|
@ -31,7 +31,7 @@ backend be-reverse
|
|||
server dev rhttp@
|
||||
} -start
|
||||
|
||||
haproxy h_dev -conf {
|
||||
haproxy h_dev -arg '-dW' -conf {
|
||||
global
|
||||
expose-experimental-directives
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.9-dev0)'"
|
|||
|
||||
barrier b1 cond 2
|
||||
|
||||
haproxy h_edge -conf {
|
||||
haproxy h_edge -arg '-dW' -conf {
|
||||
global
|
||||
expose-experimental-directives
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.9-dev0)'"
|
|||
|
||||
barrier b1 cond 2
|
||||
|
||||
haproxy h_edge -conf {
|
||||
haproxy h_edge -arg '-dW' -conf {
|
||||
global
|
||||
expose-experimental-directives
|
||||
|
||||
|
@ -31,7 +31,7 @@ frontend priv
|
|||
|
||||
# Simple clear <-> SSL bridge between clients and h_edge haproxy
|
||||
# Used certificate has the name "client1"
|
||||
haproxy h_ssl_bridge -conf {
|
||||
haproxy h_ssl_bridge -arg '-dW' -conf {
|
||||
defaults
|
||||
log global
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -43,7 +43,7 @@ server s1 {
|
|||
txresp
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
timeout client 30s
|
||||
timeout server 30s
|
||||
|
|
|
@ -15,7 +15,7 @@ server s2 {
|
|||
txresp
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -8,7 +8,7 @@ server s1 {
|
|||
txresp -hdr "Connection: close"
|
||||
} -repeat 3 -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -8,7 +8,7 @@ server s1 {
|
|||
txresp -hdr "Connection: close"
|
||||
} -repeat 3 -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -8,7 +8,7 @@ server s1 {
|
|||
txresp -hdr "Connection: close"
|
||||
} -repeat 3 -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -10,7 +10,7 @@ server s1 {
|
|||
txresp -hdr "Connection: close"
|
||||
} -repeat 1 -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
@ -97,7 +97,7 @@ client c1 -connect ${h1_fe_sock} {
|
|||
|
||||
# TEST - 2
|
||||
# negative starting index causes startup failure
|
||||
haproxy h2 -conf {
|
||||
haproxy h2 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
@ -117,7 +117,7 @@ haproxy h2 -conf {
|
|||
|
||||
# TEST - 3
|
||||
# negative length causes startup failure
|
||||
haproxy h3 -conf {
|
||||
haproxy h3 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
@ -137,7 +137,7 @@ haproxy h3 -conf {
|
|||
|
||||
# TEST - 4
|
||||
# 0 length causes startup failure
|
||||
haproxy h4 -conf {
|
||||
haproxy h4 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -9,7 +9,7 @@ server s1 {
|
|||
txresp -hdr "Connection: close"
|
||||
} -repeat 2 -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -7,7 +7,7 @@ server s1 {
|
|||
txresp -hdr "Connection: close"
|
||||
} -repeat 3 -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -53,7 +53,7 @@ server s2 {
|
|||
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode tcp
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -9,7 +9,7 @@ server s1 {
|
|||
txresp -hdr "Connection: close"
|
||||
} -repeat 2 -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -8,7 +8,7 @@ server s1 {
|
|||
txresp -hdr "Connection: close"
|
||||
} -repeat 3 -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -8,7 +8,7 @@ server s1 {
|
|||
txresp
|
||||
} -repeat 2 -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -8,7 +8,7 @@ server s1 {
|
|||
txresp -hdr "Connection: close"
|
||||
} -repeat 8 -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||
# idle server connections being randomly used and randomly expiring
|
||||
|
|
|
@ -55,7 +55,7 @@ server s2 {
|
|||
sendhex "20250000221100000078217fff24012501270000ffff22000a2600016100016226000163000164"
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode tcp
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -7,7 +7,7 @@ server s1 {
|
|||
txresp -hdr "Connection: close"
|
||||
} -repeat 10 -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -14,7 +14,7 @@ server s2 {
|
|||
txresp -hdr "Connection: close"
|
||||
} -repeat 7 -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||
# idle server connections being randomly used and randomly expiring
|
||||
|
|
|
@ -9,7 +9,7 @@ server s1 {
|
|||
txresp
|
||||
} -repeat 2 -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -8,7 +8,7 @@ server s1 {
|
|||
txresp
|
||||
} -repeat 2 -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -9,7 +9,7 @@ server s1 {
|
|||
txresp
|
||||
} -repeat 2 -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -7,7 +7,7 @@ server s1 {
|
|||
txresp -hdr "Connection: close"
|
||||
} -repeat 3 -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -48,7 +48,7 @@ server s1 {
|
|||
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -38,7 +38,7 @@ server s {
|
|||
-bodylen 16384
|
||||
} -start
|
||||
|
||||
haproxy h -conf {
|
||||
haproxy h -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -21,7 +21,7 @@ server s1 {
|
|||
txresp -hdr "Cookie: SRVID=S1"
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
log ${S1_addr}:${S1_port} len 2048 local0 debug err
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ server s1 {
|
|||
txresp
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
timeout client 30s
|
||||
timeout server 30s
|
||||
|
|
|
@ -6,7 +6,7 @@ varnishtest "Test the errofile directive in proxy sections"
|
|||
feature ignore_unknown_macro
|
||||
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -4,7 +4,7 @@ varnishtest "Test the http-error directive"
|
|||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
http-errors errors-1
|
||||
errorfile 400 ${testdir}/errors/400-1.http
|
||||
errorfile 403 ${testdir}/errors/403-1.http
|
||||
|
|
|
@ -4,7 +4,7 @@ varnishtest "Test the custom errors for HTTP deny rules"
|
|||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
http-errors errors-1
|
||||
errorfile 400 ${testdir}/errors/400-1.http
|
||||
errorfile 403 ${testdir}/errors/403-1.http
|
||||
|
|
|
@ -4,7 +4,7 @@ varnishtest "Test the errorfiles directive"
|
|||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
http-errors errors-1
|
||||
errorfile 400 ${testdir}/errors/400-1.http
|
||||
errorfile 403 ${testdir}/errors/403-1.http
|
||||
|
|
|
@ -5,7 +5,7 @@ varnishtest "Test the HTTP return action with errorfiles"
|
|||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
http-errors errors-2
|
||||
errorfile 400 ${testdir}/errors/400-2.http
|
||||
|
||||
|
|
|
@ -234,7 +234,7 @@ syslog S1 -level info {
|
|||
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -4,7 +4,7 @@ feature ignore_unknown_macro
|
|||
|
||||
#REQUIRE_VERSION=3.0
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||
# idle server connections being randomly used and randomly expiring
|
||||
|
|
|
@ -113,7 +113,7 @@ server s1 {
|
|||
-body "response 4"
|
||||
} -repeat 3 -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||
# idle server connections being randomly used and randomly expiring
|
||||
|
|
|
@ -13,7 +13,7 @@ server s1 {
|
|||
} -start
|
||||
|
||||
# haproxy frontend
|
||||
haproxy hap -conf {
|
||||
haproxy hap -arg '-dW' -conf {
|
||||
defaults
|
||||
timeout client 30s
|
||||
timeout server 30s
|
||||
|
|
|
@ -40,7 +40,7 @@ server s1 {
|
|||
# the next request is never received
|
||||
} -repeat 2 -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||
# idle server connections being randomly used and randomly expiring
|
||||
|
|
|
@ -63,7 +63,7 @@ syslog S2 -level info {
|
|||
expect ~ "[^:\\[ ]*\\[[0-9]*\\]: .* .* fe2 be2/srv1 [0-9]*/[0-9]*/-1/-1/[0-9]* 503 .* - - SC-- .* .* \"GET /c6 HTTP/1\\.1\""
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||
# idle server connections being randomly used and randomly expiring
|
||||
|
@ -109,7 +109,7 @@ haproxy h1 -conf {
|
|||
} -start
|
||||
|
||||
|
||||
haproxy h2 -conf {
|
||||
haproxy h2 -arg '-dW' -conf {
|
||||
global
|
||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||
# idle server connections being randomly used and randomly expiring
|
||||
|
|
|
@ -30,7 +30,7 @@ server s1 {
|
|||
-body "last response"
|
||||
} -repeat 3 -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||
# idle server connections being randomly used and randomly expiring
|
||||
|
|
|
@ -34,7 +34,7 @@ server s1 {
|
|||
-body "last response"
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
# WT: limit false-positives causing "HTTP header incomplete" due to
|
||||
# idle server connections being randomly used and randomly expiring
|
||||
|
|
|
@ -21,7 +21,7 @@ syslog S -level info {
|
|||
expect ~ "[^:\\[ ]*\\[[0-9]*\\]: .* .* fe1 be1/srv1 [0-9]*/[0-9]*/[0-9]*/[0-9]*/[0-9]* 200 .* - - ---- .* .* \"GET / HTTP/1\\.1\""
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
tune.bufsize 16384
|
||||
tune.maxrewrite 1024
|
||||
|
|
|
@ -39,7 +39,7 @@ syslog S -level info {
|
|||
expect ~ "[^:\\[ ]*\\[[0-9]*\\]: .* .* fe2 be1/<NOSRV> [0-9]*/-1/-1/-1/[0-9]* 400 .* - - CR-- .* .* \"POST /2 HTTP/1\\.1\""
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout client 100
|
||||
|
|
|
@ -22,7 +22,7 @@ server s2 {
|
|||
txresp -status 200 -nolen -bodylen 1048576
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
log stderr len 4096 local0 debug
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ server s1 {
|
|||
chunkedlen 0
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
global
|
||||
log stderr len 4096 local0 debug
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@ server s2 {
|
|||
-hdr "Transfer-Encoding: gzip"
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -69,7 +69,7 @@ server s2 {
|
|||
send "1"
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -139,7 +139,7 @@ server srv_h1_h2c {
|
|||
-status 200
|
||||
} -start
|
||||
|
||||
haproxy hap -conf {
|
||||
haproxy hap -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
|
|
@ -17,7 +17,7 @@ syslog S1 -level info {
|
|||
expect ~ "^.* uri: GET https://hostname:80/ HTTP/2.0; host: {hostname:80}$"
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
haproxy h1 -arg '-dW' -conf {
|
||||
defaults
|
||||
mode http
|
||||
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