mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-24 03:18:57 +00:00
reset metrics on dockerhim unit tests
This commit is contained in:
@@ -30,6 +30,7 @@ import (
|
||||
|
||||
func TestNetworkPluginManagerMetrics(t *testing.T) {
|
||||
metrics.Register()
|
||||
defer legacyregistry.Reset()
|
||||
|
||||
operation := "test_operation"
|
||||
recordOperation(operation, time.Now())
|
||||
|
Reference in New Issue
Block a user