]> git.kaiwu.me - haproxy.git/commit
REGTESTS: proxy: test monitor-uri and the monitor fail condition
authorWilly Tarreau <w@1wt.eu>
Mon, 21 Sep 2026 20:50:08 +0000 (20:50 +0000)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Sep 2026 15:19:30 +0000 (17:19 +0200)
commitc1cf032bfb80cf1746d7527df7c48e55fa644d00
tree0ae916eb46c0a2f7ab64e83fa652a819804ca6ce
parent4e0fae6e3345428e489a75298cf97a869be5d2a1
REGTESTS: proxy: test monitor-uri and the monitor fail condition

"monitor fail" had no coverage and "monitor-uri" was only used as a
side setting of a health check test.

The test checks that the monitor URI is answered by the frontend
without reaching the backend while the other URIs are still forwarded,
that the status switches from 200 to 503 when the condition is met,
that the "unless" form inverts that, and that the monitor response
goes through the error files of the proxy as documented.
reg-tests/proxy/monitor.vtc [new file with mode: 0644]