diff --git a/test/integration/job/job_test.go b/test/integration/job/job_test.go index 07c3f286994..cb39015bc3e 100644 --- a/test/integration/job/job_test.go +++ b/test/integration/job/job_test.go @@ -654,7 +654,7 @@ func TestSuccessPolicy(t *testing.T) { wantFailed: 0, wantSucceeded: 1, wantCompletedIndexes: "1", - wantTerminating: ptr.To[int32](1), + wantTerminating: ptr.To[int32](0), }, }, wantConditionTypes: []batchv1.JobConditionType{batchv1.JobSuccessCriteriaMet, batchv1.JobComplete}, @@ -1719,7 +1719,7 @@ func TestBackoffLimitPerIndex(t *testing.T) { }, wantFailed: 5, wantFailedIndexes: ptr.To(""), - wantTerminating: ptr.To[int32](2), + wantTerminating: ptr.To[int32](0), }, }, wantJobConditionType: batchv1.JobFailed,