REGTESTS: use -dW by default on every reg-tests

Every reg-test now runs without any warning, so let's acivate -dW by
default so the new ones will inheritate the option.

This patch reverts 9d511b3c ("REGTESTS: enable -dW on almost all tests
to fail on warnings") and adds -dW in the default HAPROXY_ARGS of
scripts/run-regtests.sh instead.
This commit is contained in:
William Lallemand 2024-11-19 16:51:30 +01:00
parent e1fb9a47e1
commit 6f746af915
213 changed files with 281 additions and 281 deletions

View File

@ -21,7 +21,7 @@ server s4 {
txresp -hdr "Server: s4"
} -repeat 2 -start
haproxy h1 -arg "-L A" -arg '-dW' -conf {
haproxy h1 -arg "-L A" -conf {
defaults
mode http
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -22,7 +22,7 @@ server s4 {
txresp -hdr "Server: s4" -body "s4"
} -repeat 5 -start
haproxy h1 -arg "-L A" -arg '-dW' -conf {
haproxy h1 -arg "-L A" -conf {
defaults
mode http
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -21,7 +21,7 @@ server s4 {
txresp -hdr "Server: s4"
} -repeat 2 -start
haproxy h1 -arg "-L A" -arg '-dW' -conf {
haproxy h1 -arg "-L A" -conf {
defaults
mode http
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -22,7 +22,7 @@ server s1 {
chunkedlen 0
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -113,7 +113,7 @@ server s2 {
-bodylen 170
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
global
# WT: limit false-positives causing "HTTP header incomplete" due to
# idle server connections being randomly used and randomly expiring

View File

@ -39,7 +39,7 @@ server s3 {
chunkedlen 0
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
global
# WT: limit false-positives causing "HTTP header incomplete" due to
# idle server connections being randomly used and randomly expiring

View File

@ -39,7 +39,7 @@ server s1 {
chunkedlen 0
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
global
# WT: limit false-positives causing "HTTP header incomplete" due to
# idle server connections being randomly used and randomly expiring

View File

@ -24,7 +24,7 @@ server s1 {
chunkedlen 0
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
global
# WT: limit false-positives causing "HTTP header incomplete" due to
# idle server connections being randomly used and randomly expiring

View File

@ -22,7 +22,7 @@ server s1 {
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -41,7 +41,7 @@ server s3 {
chunkedlen 0
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
global
# WT: limit false-positives causing "HTTP header incomplete" due to
# idle server connections being randomly used and randomly expiring

View File

@ -165,7 +165,7 @@ server s2 {
-bodylen 57
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
global
# WT: limit false-positives causing "HTTP header incomplete" due to
# idle server connections being randomly used and randomly expiring

View File

@ -91,7 +91,7 @@ server s1 {
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
global
# WT: limit false-positives causing "HTTP header incomplete" due to
# idle server connections being randomly used and randomly expiring

View File

@ -56,7 +56,7 @@ server s37 {} -start
server s38 {} -start
server s39 {} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -238,7 +238,7 @@ server s35 {} -start
server s37 {} -start
server s39 {} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -92,7 +92,7 @@ syslog S4 -level notice {
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -54,7 +54,7 @@ server s2 {
txresp
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -14,7 +14,7 @@ server s1 {
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode tcp
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -23,7 +23,7 @@ syslog S1 -level notice {
expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Health check for server be1/srv succeeded.*code: 202"
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -108,7 +108,7 @@ syslog S6 -level notice {
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -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 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -6,7 +6,7 @@ varnishtest "Test the HTTP directive monitor-uri"
feature ignore_unknown_macro
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -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 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode tcp
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -62,7 +62,7 @@ syslog S5 -level notice {
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode tcp
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -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 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode tcp
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -28,7 +28,7 @@ syslog S2 -level notice {
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode tcp
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -63,7 +63,7 @@ syslog S5 -level notice {
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode tcp
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -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 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode tcp
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -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 -arg '-dW' -conf {
haproxy htst -conf {
global
.if !ssllib_name_startswith(AWS-LC)
tune.ssl.default-dh-param 2048
@ -46,7 +46,7 @@ haproxy htst -arg '-dW' -conf {
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode tcp
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -27,7 +27,7 @@ syslog S4 -level notice {
} -start
haproxy htst -arg '-dW' -conf {
haproxy htst -conf {
global
.if !ssllib_name_startswith(AWS-LC)
tune.ssl.default-dh-param 2048
@ -62,7 +62,7 @@ haproxy htst -arg '-dW' -conf {
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode tcp
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -29,7 +29,7 @@ server s2 {
expect_close
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode tcp
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -18,7 +18,7 @@ syslog S2 -level notice {
server s1 {
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode tcp
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -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 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode tcp
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -32,7 +32,7 @@ syslog S1 -level notice {
expect ~ "[^:\\[ ]\\[${h1_pid}\\]: .* fe1~ be1/srv1 .* 200 [[:digit:]]+ - - ---- .* \"OPTIONS \\* HTTP/1.1\""
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -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 -arg '-dW' -conf {
haproxy h2 -conf {
global
.if !ssllib_name_startswith(AWS-LC)
tune.ssl.default-dh-param 2048

View File

@ -176,7 +176,7 @@ server s1 {
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -104,7 +104,7 @@ server s1 {
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
global
# WT: limit false-positives causing "HTTP header incomplete" due to
# idle server connections being randomly used and randomly expiring

View File

@ -6,7 +6,7 @@ varnishtest "Compression validation"
feature ignore_unknown_macro
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
global
lua-load ${testdir}/lua_validation.lua

View File

@ -109,7 +109,7 @@ server s2 {
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
global
# WT: limit false-positives causing "HTTP header incomplete" due to
# idle server connections being randomly used and randomly expiring

View File

@ -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 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -11,7 +11,7 @@ server s2 {
txresp
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
log global
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -5,7 +5,7 @@ varnishtest "h2 glitches"
feature ignore_unknown_macro
# haproxy frontend
haproxy hap -arg '-dW' -conf {
haproxy hap -conf {
defaults
timeout client 30s
timeout server 30s

View File

@ -2,7 +2,7 @@ varnishtest "Test the http-reuse aggressive mode"
feature ignore_unknown_macro
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
timeout client 30s
timeout server 30s

View File

@ -2,7 +2,7 @@ varnishtest "Test the http-reuse always mode"
feature ignore_unknown_macro
haproxy h1 -W -arg '-dW' -conf {
haproxy h1 -W -conf {
defaults
timeout client 30s
timeout server 30s

View File

@ -9,7 +9,7 @@ feature cmd "$HAPROXY_PROGRAM -cc 'feature(TPROXY)'"
feature ignore_unknown_macro
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
timeout client 30s
timeout server 30s

View File

@ -4,7 +4,7 @@ varnishtest "Test the http-reuse with special connection parameters"
feature ignore_unknown_macro
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
timeout client 30s
timeout server 30s

View File

@ -8,7 +8,7 @@ varnishtest "Test the proper interaction between http-reuse and dispatch mode"
feature ignore_unknown_macro
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
timeout client 30s
timeout server 30s

View File

@ -2,7 +2,7 @@ varnishtest "Test the http-reuse never mode"
feature ignore_unknown_macro
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
timeout client 30s
timeout server 30s

View File

@ -2,7 +2,7 @@ varnishtest "Test the http-reuse safe mode"
feature ignore_unknown_macro
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
timeout client 30s
timeout server 30s

View File

@ -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 -arg '-dW' -conf {
haproxy h1 -conf {
global
.if !ssllib_name_startswith(AWS-LC)
tune.ssl.default-dh-param 2048

View File

@ -2,7 +2,7 @@ varnishtest "Check that generic TLV IDs are sent properly"
feature ignore_unknown_macro
haproxy h1 -arg '-dW' -conf {
haproxy h1 -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 -arg '-dW' -conf {
haproxy h2 -conf {
defaults
mode http
log global

View File

@ -2,7 +2,7 @@ varnishtest "Check that the unique ID TLV is properly sent"
feature ignore_unknown_macro
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
timeout client 30s
timeout server 30s

View File

@ -4,7 +4,7 @@ varnishtest "Check that the unique ID TLV is properly sent for servers with ALPN
feature ignore_unknown_macro
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
timeout client 30s
timeout server 30s

View File

@ -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 -arg '-dW' -conf {
haproxy h1 -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 -arg '-dW' -conf {
haproxy h2 -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 -arg '-dW' -conf {
haproxy h3 -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 -arg '-dW' -conf {
haproxy h4 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -8,7 +8,7 @@ server s1 {
txresp
} -start
haproxy h_edge -arg '-dW' -conf {
haproxy h_edge -conf {
global
expose-experimental-directives
@ -31,7 +31,7 @@ backend be-reverse
server dev rhttp@
} -start
haproxy h_dev -arg '-dW' -conf {
haproxy h_dev -conf {
global
expose-experimental-directives

View File

@ -5,7 +5,7 @@ feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.9-dev0)'"
barrier b1 cond 2
haproxy h_edge -arg '-dW' -conf {
haproxy h_edge -conf {
global
expose-experimental-directives

View File

@ -6,7 +6,7 @@ feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.9-dev0)'"
barrier b1 cond 2
haproxy h_edge -arg '-dW' -conf {
haproxy h_edge -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 -arg '-dW' -conf {
haproxy h_ssl_bridge -conf {
defaults
log global
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -43,7 +43,7 @@ server s1 {
txresp
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
timeout client 30s
timeout server 30s

View File

@ -15,7 +15,7 @@ server s2 {
txresp
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -8,7 +8,7 @@ server s1 {
txresp -hdr "Connection: close"
} -repeat 3 -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -8,7 +8,7 @@ server s1 {
txresp -hdr "Connection: close"
} -repeat 3 -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -8,7 +8,7 @@ server s1 {
txresp -hdr "Connection: close"
} -repeat 3 -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -10,7 +10,7 @@ server s1 {
txresp -hdr "Connection: close"
} -repeat 1 -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -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 -arg '-dW' -conf {
haproxy h2 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
@ -117,7 +117,7 @@ haproxy h2 -arg '-dW' -conf {
# TEST - 3
# negative length causes startup failure
haproxy h3 -arg '-dW' -conf {
haproxy h3 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
@ -137,7 +137,7 @@ haproxy h3 -arg '-dW' -conf {
# TEST - 4
# 0 length causes startup failure
haproxy h4 -arg '-dW' -conf {
haproxy h4 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -9,7 +9,7 @@ server s1 {
txresp -hdr "Connection: close"
} -repeat 2 -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -7,7 +7,7 @@ server s1 {
txresp -hdr "Connection: close"
} -repeat 3 -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -53,7 +53,7 @@ server s2 {
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode tcp
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -9,7 +9,7 @@ server s1 {
txresp -hdr "Connection: close"
} -repeat 2 -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -8,7 +8,7 @@ server s1 {
txresp -hdr "Connection: close"
} -repeat 3 -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -8,7 +8,7 @@ server s1 {
txresp
} -repeat 2 -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -8,7 +8,7 @@ server s1 {
txresp -hdr "Connection: close"
} -repeat 8 -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
global
# WT: limit false-positives causing "HTTP header incomplete" due to
# idle server connections being randomly used and randomly expiring

View File

@ -55,7 +55,7 @@ server s2 {
sendhex "20250000221100000078217fff24012501270000ffff22000a2600016100016226000163000164"
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode tcp
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -7,7 +7,7 @@ server s1 {
txresp -hdr "Connection: close"
} -repeat 10 -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -14,7 +14,7 @@ server s2 {
txresp -hdr "Connection: close"
} -repeat 7 -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
global
# WT: limit false-positives causing "HTTP header incomplete" due to
# idle server connections being randomly used and randomly expiring

View File

@ -9,7 +9,7 @@ server s1 {
txresp
} -repeat 2 -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -8,7 +8,7 @@ server s1 {
txresp
} -repeat 2 -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -9,7 +9,7 @@ server s1 {
txresp
} -repeat 2 -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -7,7 +7,7 @@ server s1 {
txresp -hdr "Connection: close"
} -repeat 3 -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -48,7 +48,7 @@ server s1 {
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -38,7 +38,7 @@ server s {
-bodylen 16384
} -start
haproxy h -arg '-dW' -conf {
haproxy h -conf {
defaults
mode http
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -21,7 +21,7 @@ server s1 {
txresp -hdr "Cookie: SRVID=S1"
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
global
log ${S1_addr}:${S1_port} len 2048 local0 debug err

View File

@ -7,7 +7,7 @@ server s1 {
txresp
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
timeout client 30s
timeout server 30s

View File

@ -6,7 +6,7 @@ varnishtest "Test the errofile directive in proxy sections"
feature ignore_unknown_macro
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -4,7 +4,7 @@ varnishtest "Test the http-error directive"
feature ignore_unknown_macro
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
http-errors errors-1
errorfile 400 ${testdir}/errors/400-1.http
errorfile 403 ${testdir}/errors/403-1.http

View File

@ -4,7 +4,7 @@ varnishtest "Test the custom errors for HTTP deny rules"
feature ignore_unknown_macro
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
http-errors errors-1
errorfile 400 ${testdir}/errors/400-1.http
errorfile 403 ${testdir}/errors/403-1.http

View File

@ -4,7 +4,7 @@ varnishtest "Test the errorfiles directive"
feature ignore_unknown_macro
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
http-errors errors-1
errorfile 400 ${testdir}/errors/400-1.http
errorfile 403 ${testdir}/errors/403-1.http

View File

@ -5,7 +5,7 @@ varnishtest "Test the HTTP return action with errorfiles"
feature ignore_unknown_macro
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
http-errors errors-2
errorfile 400 ${testdir}/errors/400-2.http

View File

@ -234,7 +234,7 @@ syslog S1 -level info {
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -4,7 +4,7 @@ feature ignore_unknown_macro
#REQUIRE_VERSION=3.0
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
global
# WT: limit false-positives causing "HTTP header incomplete" due to
# idle server connections being randomly used and randomly expiring

View File

@ -113,7 +113,7 @@ server s1 {
-body "response 4"
} -repeat 3 -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
global
# WT: limit false-positives causing "HTTP header incomplete" due to
# idle server connections being randomly used and randomly expiring

View File

@ -13,7 +13,7 @@ server s1 {
} -start
# haproxy frontend
haproxy hap -arg '-dW' -conf {
haproxy hap -conf {
defaults
timeout client 30s
timeout server 30s

View File

@ -40,7 +40,7 @@ server s1 {
# the next request is never received
} -repeat 2 -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
global
# WT: limit false-positives causing "HTTP header incomplete" due to
# idle server connections being randomly used and randomly expiring

View File

@ -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 -arg '-dW' -conf {
haproxy h1 -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 -arg '-dW' -conf {
} -start
haproxy h2 -arg '-dW' -conf {
haproxy h2 -conf {
global
# WT: limit false-positives causing "HTTP header incomplete" due to
# idle server connections being randomly used and randomly expiring

View File

@ -30,7 +30,7 @@ server s1 {
-body "last response"
} -repeat 3 -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
global
# WT: limit false-positives causing "HTTP header incomplete" due to
# idle server connections being randomly used and randomly expiring

View File

@ -34,7 +34,7 @@ server s1 {
-body "last response"
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
global
# WT: limit false-positives causing "HTTP header incomplete" due to
# idle server connections being randomly used and randomly expiring

View File

@ -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 -arg '-dW' -conf {
haproxy h1 -conf {
global
tune.bufsize 16384
tune.maxrewrite 1024

View File

@ -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 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout client 100

View File

@ -22,7 +22,7 @@ server s2 {
txresp -status 200 -nolen -bodylen 1048576
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
global
log stderr len 4096 local0 debug

View File

@ -26,7 +26,7 @@ server s1 {
chunkedlen 0
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
global
log stderr len 4096 local0 debug

View File

@ -76,7 +76,7 @@ server s2 {
-hdr "Transfer-Encoding: gzip"
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -69,7 +69,7 @@ server s2 {
send "1"
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -conf {
defaults
mode http
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -139,7 +139,7 @@ server srv_h1_h2c {
-status 200
} -start
haproxy hap -arg '-dW' -conf {
haproxy hap -conf {
defaults
mode http
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"

View File

@ -17,7 +17,7 @@ syslog S1 -level info {
expect ~ "^.* uri: GET https://hostname:80/ HTTP/2.0; host: {hostname:80}$"
} -start
haproxy h1 -arg '-dW' -conf {
haproxy h1 -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