diff options
author | Wolfy-J <[email protected]> | 2019-06-27 12:58:20 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2019-06-27 12:58:20 +0300 |
commit | 1633d128309765536e7cbb176225926efda7a33c (patch) | |
tree | cedb4648ea11e5de8162a67a22afb496f9feca98 /service/metrics | |
parent | 132c89566c649ca5d9354dd7e6ac1e2cbab0d1b0 (diff) |
more tests
Diffstat (limited to 'service/metrics')
-rw-r--r-- | service/metrics/service_test.go | 2 |
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() |