haproxy/reg-tests/webstats/missing-stats-fields.vtc
Amaury Denoyelle 8fc0b18087 MINOR: stats: rename proxy stats
This commit is the first one of a serie which adjust naming convention
for stats module. The objective is to remove ambiguity and better
reflect how stats are implemented, especially since the introduction of
stats module.

This patch renames elements related to proxies statistics. One of the
main change is to rename ST_F_* statistics indexes prefix with the new
name ST_I_PX_*. This remove the reference to field which represents
another concept in the stats module. In the same vein, global
stat_fields variable is renamed metrics_px.
2024-04-22 16:25:18 +02:00

15 lines
279 B
Plaintext

varnishtest "Verifies the absence of (null) in 'show stats' header"
# This can happen if a new ST_I_PX_xxx enum is added without updating
# stats_fields[].
feature ignore_unknown_macro
haproxy h1 -conf {
} -start
haproxy h1 -cli {
send "show stat"
expect !~ (null)
}