REGTEST: set retries count to zero for all tests that expect at 503

Some tests expect a 503, typically those that check that wrong CA/CRL
will not be accepted between a server and a frontend. But such tests
tend to last very long simply because of the 1-second turn-around on
connection retries that happens during the failure. Let's properly set
the retries count to zero for these ones. One test purposely wants to
exhaust the retries so the retries was set to 1 instead.
This commit is contained in:
Willy Tarreau 2021-11-18 17:15:59 +01:00
parent b7a28e7bc8
commit 419c11728d
9 changed files with 9 additions and 1 deletions

View File

@ -55,7 +55,7 @@ haproxy h1 -conf {
defaults
mode http
option abortonclose
retries 3
retries 1
timeout client 10s
timeout server 10s
timeout connect 100ms

View File

@ -29,6 +29,7 @@ haproxy h1 -conf {
defaults
mode http
option httplog
retries 0
log stderr local0 debug err
option logasap
timeout connect 100ms

View File

@ -29,6 +29,7 @@ haproxy h1 -conf {
defaults
mode http
option httplog
retries 0
log stderr local0 debug err
option logasap
timeout connect 100ms

View File

@ -29,6 +29,7 @@ haproxy h1 -conf {
defaults
mode http
option httplog
retries 0
log stderr local0 debug err
option logasap
timeout connect 100ms

View File

@ -34,6 +34,7 @@ haproxy h1 -conf {
defaults
mode http
option httplog
retries 0
log stderr local0 debug err
option logasap
timeout connect 100ms

View File

@ -40,6 +40,7 @@ haproxy h1 -conf {
defaults
mode http
option httplog
retries 0
log stderr local0 debug err
option logasap
timeout connect 100ms

View File

@ -32,6 +32,7 @@ haproxy h1 -conf {
defaults
mode http
option httplog
retries 0
log stderr local0 debug err
option logasap
timeout connect 100ms

View File

@ -37,6 +37,7 @@ haproxy h1 -conf {
defaults
mode http
option httplog
retries 0
log stderr local0 debug err
option logasap
timeout connect 100ms

View File

@ -22,6 +22,7 @@ haproxy h1 -conf {
defaults
mode http
option httplog
retries 0
log stderr local0 debug err
option logasap
timeout connect 1s