reset metrics on dockerhim unit tests

This commit is contained in:
Antonio Ojea 2021-03-13 21:17:56 +01:00
parent 5b0a2c3a29
commit 3a1f656491

View File

@ -30,6 +30,7 @@ import (
func TestNetworkPluginManagerMetrics(t *testing.T) {
metrics.Register()
defer legacyregistry.Reset()
operation := "test_operation"
recordOperation(operation, time.Now())