]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTESTS: Fix prometheus script to perform HTTP health-checks
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 24 Aug 2022 10:17:31 +0000 (12:17 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 24 Aug 2022 10:17:34 +0000 (12:17 +0200)
commit529b6a3a2c5e977bd585c75963ef29ce83138a05
treeecd8ac6e173a1ada24133c993fb0f0a528f0e3e0
parent871dd82117f1e9a673938c6987ddf8989485d384
REGTESTS: Fix prometheus script to perform HTTP health-checks

TCP Health-checks are enabled on server "s2". However it expects to receive
an HTTP requests. So HAProxy configuration must be changed to perform HTTP
health-checks instead. Otherwise, depending on the timing, an error can be
triggered if a check is performed before the end of the script.

This scripts never failed because TCP_QUICKACK was disabled, adding some
latency on health-checks. But since the last fix, it is an issue.

This patch should be backported as far as 2.4.
reg-tests/contrib/prometheus.vtc