haproxy/reg-tests/checks
Gaetan Rivet 1afd826ae4 MINOR: checks: add min-recv tcp-check expect option
Some expect rules cannot be satisfied due to inherent ambiguity towards
the received data: in the absence of match, the current behavior is to
be forced to wait either the end of the connection or a buffer full,
whichever comes first. Only then does the matching diagnostic is
considered  conclusive. For instance :

    tcp-check connect
    tcp-check expect !rstring "^error"
    tcp-check expect string "valid"

This check will only succeed if the connection is closed by the server before
the check timeout. Otherwise the first expect rule will wait for more data until
"^error" regex matches or the check expires.

Allow the user to explicitly define an amount of data that will be
considered enough to determine the value of the check.

This allows succeeding on negative rstring rules, as previously
in valid condition no match happened, and the matching was repeated
until the end of the connection. This could timeout the check
while no error was happening.

[Cf: I slighly updated the patch. The parameter was renamed and the value is a
signed integer to support -1 as default value to ignore the parameter.]
2020-04-27 09:39:37 +02:00
..
1be_40srv_odd_health_checks.vtc REGTEST: rename the reg test files. 2019-04-23 15:37:03 +02:00
4be_1srv_health_checks.vtc CLEANUP: assorted typo fixes in the code and comments 2020-03-14 09:42:07 +01:00
4be_1srv_smtpchk_httpchk_layer47errors.vtc REGTEST: Make this reg test be Linux specific. 2019-04-30 11:56:52 +02:00
40be_2srv_odd_health_checks.vtc REGTEST: exclude osx and generic targets for 40be_2srv_odd_health_checks 2019-04-25 08:39:48 +02:00
common.pem
http-check-send.vtc MINOR: checks: Add a way to send custom headers and payload during http chekcs 2020-04-27 09:39:37 +02:00
http-monitor-uri.vtc MINOR: http-ana: Match on the path if the monitor-uri starts by a / 2020-02-18 16:29:29 +01:00
tcp-check_min-recv.vtc MINOR: checks: add min-recv tcp-check expect option 2020-04-27 09:39:37 +02:00
tcp-check_multiple_ports.vtc REGTESTS: server/cli_set_fqdn requires version 1.8 minimum 2019-10-22 13:06:59 +02:00
tls_health_checks.vtc REGTEST: extend the check duration on tls_health_checks and mark it slow 2019-05-17 17:16:20 +02:00