From ab8cdae3b1f7eb37b6adac1cd607e8fefc5df365 Mon Sep 17 00:00:00 2001 From: Michal Wozniak Date: Thu, 15 Feb 2024 14:49:46 +0100 Subject: [PATCH] Reset metrics in the Job integration test before testing --- test/integration/job/job_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/test/integration/job/job_test.go b/test/integration/job/job_test.go index 4067c82b994..6646a26dca5 100644 --- a/test/integration/job/job_test.go +++ b/test/integration/job/job_test.go @@ -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 {