Merge pull request #123321 from mimowo/job-reset-metrics

Reset metrics in the Job integration test before testing
This commit is contained in:
Kubernetes Prow Robot 2024-02-15 10:57:58 -08:00 committed by GitHub
commit 50b4cfc414
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1200,6 +1200,7 @@ func TestNonParallelJob(t *testing.T) {
defer func() {
cancel()
}()
resetMetrics()
jobObj, err := createJobWithDefaults(ctx, clientSet, ns.Name, &batchv1.Job{})
if err != nil {