mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-12 13:31:52 +00:00
Merge pull request #123321 from mimowo/job-reset-metrics
Reset metrics in the Job integration test before testing
This commit is contained in:
commit
50b4cfc414
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user