From 4ccd55e95e9f54a0078d7dda76a447879c2f15a3 Mon Sep 17 00:00:00 2001 From: Zou Nengren Date: Sat, 4 Apr 2020 00:30:06 +0800 Subject: correct metrics name of cache size (#3805) Signed-off-by: zounengren --- test/reload_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/reload_test.go') diff --git a/test/reload_test.go b/test/reload_test.go index f17a85b05..72f0a2dfd 100644 --- a/test/reload_test.go +++ b/test/reload_test.go @@ -209,7 +209,7 @@ func TestMetricsAvailableAfterReload(t *testing.T) { // that is not used in another test promAddress := "127.0.0.1:53186" procMetric := "coredns_build_info" - procCache := "coredns_cache_size" + procCache := "coredns_cache_entries" procForward := "coredns_dns_request_duration_seconds" corefileWithMetrics := ` .:0 { @@ -263,7 +263,7 @@ func TestMetricsAvailableAfterReloadAndFailedReload(t *testing.T) { // that is not used in another test promAddress := "127.0.0.1:53187" procMetric := "coredns_build_info" - procCache := "coredns_cache_size" + procCache := "coredns_cache_entries" procForward := "coredns_dns_request_duration_seconds" corefileWithMetrics := ` .:0 { -- cgit v1.2.3