mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 15:58:37 +00:00
Reset metrics in the Job integration test before testing
This commit is contained in:
parent
b202d053fa
commit
ab8cdae3b1
@ -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