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