Skip to content

Commit f48a4c9

Browse files
CatherineF-devk8s-publishing-bot
authored andcommitted
add local registry.Reset()
Kubernetes-commit: 03f7a8d7d26eb42ecf065546ba4a6038100417b4
1 parent deeac45 commit f48a4c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

metrics/testutil/metrics_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,8 @@ func TestGetHistogramVecFromGatherer(t *testing.T) {
587587
if diff := cmp.Diff(tt.wantVec, histogramVec); diff != "" {
588588
t.Errorf("Got unexpected HistogramVec (-want +got):\n%s", diff)
589589
}
590+
591+
registry.Reset()
590592
})
591593
}
592594
}

0 commit comments

Comments
 (0)