]> git.kaiwu.me - haproxy.git/commitdiff
REGTESTS: Migrate `REQUIRE_SERVICE=prometheus-exporter` to a `feature(PROMEX)` check
authorTim Duesterhus <tim@bastelstu.be>
Fri, 3 Jul 2026 21:02:36 +0000 (23:02 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Wed, 8 Jul 2026 12:50:25 +0000 (14:50 +0200)
The prometheus exporter is a first class citizen now. This keeps consistency
with the other tests.

reg-tests/contrib/prometheus.vtc

index 9efee4be2b025156c900e9c9d65c01ccb7cb3fb0..702a2e9836d0fdbfe6176e7b802698e3308aebb4 100644 (file)
@@ -1,7 +1,7 @@
 varnishtest "prometheus exporter test"
 
 feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(3.0-dev0)'"
-#REQUIRE_SERVICES=prometheus-exporter
+feature cmd "$HAPROXY_PROGRAM -cc 'feature(PROMEX)'"
 
 feature ignore_unknown_macro