Skip to content

Commit 59f3aa1

Browse files
authored
Merge pull request kubernetes#129894 from mimowo/fix-flaky-job-controller-test
Fix the flaky Job integration tests
2 parents 79addb5 + 8f11a3b commit 59f3aa1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/job/job_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ func TestSuccessPolicy(t *testing.T) {
713713
wantFailed: 0,
714714
wantSucceeded: 1,
715715
wantCompletedIndexes: "1",
716-
wantTerminating: ptr.To[int32](1),
716+
wantTerminating: ptr.To[int32](0),
717717
},
718718
},
719719
wantConditionTypes: []batchv1.JobConditionType{batchv1.JobSuccessCriteriaMet, batchv1.JobComplete},
@@ -1782,7 +1782,7 @@ func TestBackoffLimitPerIndex(t *testing.T) {
17821782
},
17831783
wantFailed: 5,
17841784
wantFailedIndexes: ptr.To(""),
1785-
wantTerminating: ptr.To[int32](2),
1785+
wantTerminating: ptr.To[int32](0),
17861786
},
17871787
},
17881788
wantJobConditionType: batchv1.JobFailed,

0 commit comments

Comments
 (0)