summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
Diffstat (limited to 'service')
-rw-r--r--service/metrics/service_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/service/metrics/service_test.go b/service/metrics/service_test.go
index 673b9c6d..513b3042 100644
--- a/service/metrics/service_test.go
+++ b/service/metrics/service_test.go
@@ -153,6 +153,8 @@ func Test_ConfiguredMetric(t *testing.T) {
s, _ := c.Get(ID)
assert.NotNil(t, s)
+ assert.True(t, s.(*Service).Enabled())
+
go func() { c.Serve() }()
time.Sleep(time.Millisecond * 100)
defer c.Stop()