summaryrefslogtreecommitdiff
path: root/tests/plugins/metrics
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-06-09 12:06:10 +0300
committerGitHub <[email protected]>2021-06-09 12:06:10 +0300
commita723cedba199a1c50dca05630b53139ee456ace8 (patch)
treec41ab92d6a02b2669f24702cb44dc54b3e241442 /tests/plugins/metrics
parent4f3e16892479db4bd8280a46987f3105e46e5c96 (diff)
parentffad3119505aab02f0b7d5ba1cc29e6e91be5d11 (diff)
#713 feat(server): path scan for a potential file path
#713 feat(server): path scan for a potential file path
Diffstat (limited to 'tests/plugins/metrics')
-rw-r--r--tests/plugins/metrics/metrics_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/plugins/metrics/metrics_test.go b/tests/plugins/metrics/metrics_test.go
index 84c60592..3d900fcc 100644
--- a/tests/plugins/metrics/metrics_test.go
+++ b/tests/plugins/metrics/metrics_test.go
@@ -136,6 +136,7 @@ func TestMetricsIssue571(t *testing.T) {
mockLogger.EXPECT().Info("metric successfully added", "name", "test", "labels", []string{}, "value", gomock.Any()).MinTimes(1)
mockLogger.EXPECT().Info("adding metric", "name", "test", "value", gomock.Any(), "labels", []string{}).MinTimes(1)
mockLogger.EXPECT().Error("metric with provided name already exist", "name", "test", "type", gomock.Any(), "namespace", gomock.Any()).MinTimes(3)
+ mockLogger.EXPECT().Info("scan command", gomock.Any()).AnyTimes()
err = cont.RegisterAll(
cfg,