diff options
author | 2020-04-04 00:30:06 +0800 | |
---|---|---|
committer | 2020-04-03 09:30:06 -0700 | |
commit | 4ccd55e95e9f54a0078d7dda76a447879c2f15a3 (patch) | |
tree | aae93e65cb0b82f3a7b815625921691397fd581e /test/reload_test.go | |
parent | 7bb32dee7de8064a9c7787be1776741209dc9d16 (diff) | |
download | coredns-4ccd55e95e9f54a0078d7dda76a447879c2f15a3.tar.gz coredns-4ccd55e95e9f54a0078d7dda76a447879c2f15a3.tar.zst coredns-4ccd55e95e9f54a0078d7dda76a447879c2f15a3.zip |
correct metrics name of cache size (#3805)
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
Diffstat (limited to '')
-rw-r--r-- | test/reload_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |