]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTESTS: healthcheckmail: Relax matching on the healthcheck log message
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 12 Sep 2022 07:58:47 +0000 (09:58 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 12 Sep 2022 08:02:27 +0000 (10:02 +0200)
commit28bc152aa4a42ba91818aaf2af33ccb76f75a426
tree6deabfe01e1719d29a66608859008837ef479952
parentaf5336fd238ad2dcac8c09c45720152e36be7bb9
REGTESTS: healthcheckmail: Relax matching on the healthcheck log message

Depending on the timing, the conneciton on lisrv listener may be fully
accepted before any reject. Thus, instead of getting a socket error, an
invalid L7 response is reported. There is no reason to be strick on the
error type. Any failure is good here, because we just want to test the
email-alert feature.

This patch should fix issue #1857. It may be backported as far as 2.2.
reg-tests/mailers/healthcheckmail.vtc