MINOR: reg-tests: add base prometheus test
authorWilliam Dauchy <wdauchy@gmail.com>
Sun, 10 Jan 2021 20:13:06 +0000 (21:13 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 13 Jan 2021 12:41:04 +0000 (13:41 +0100)
commit648b4bde66a37faaedff10638432052fc84ac3d4
treed6c11f1f5079d3ebbae5a0eebd1dab6318461e6b
parent6d4afa4d76cb7c47caa44063518324614055cfee
MINOR: reg-tests: add base prometheus test

Add a base test to start with something, even though this is not
necessarily complete.
Also make use of the recent REQUIRE_SERVICE option to exclude it from
test list of it was not build with prometheus included.

note: I thought it was possible to send multiple requests within the
same client, but I'm getting "HTTP header is incomplete" from the second
request

Signed-off-by: William Dauchy <wdauchy@gmail.com>
(cherry picked from commit 76603f2552fafc23871a914600a18c3616959693)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
reg-tests/contrib/prometheus.vtc [new file with mode: 0644]