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.
(cherry picked from commit 529b6a3a2c5e977bd585c75963ef29ce83138a05)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 2ee96bc4a82103c762c54c0150b2b72f6deb76c3)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 8e8ee0c8663600697c6d668a53471c0c9659f97c)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed