Skip to content

Commit 0d5d714

Browse files
committed
Fix the remaining flaky integration tests in Job controller
1 parent 59f3aa1 commit 0d5d714

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
@@ -760,7 +760,7 @@ func TestSuccessPolicy(t *testing.T) {
760760
wantFailed: 0,
761761
wantSucceeded: 1,
762762
wantCompletedIndexes: "1",
763-
wantTerminating: ptr.To[int32](1),
763+
wantTerminating: ptr.To[int32](0),
764764
},
765765
},
766766
wantConditionTypes: []batchv1.JobConditionType{batchv1.JobSuccessCriteriaMet, batchv1.JobComplete},
@@ -1874,7 +1874,7 @@ func TestBackoffLimitPerIndex(t *testing.T) {
18741874
wantActive: 0,
18751875
wantFailed: 3,
18761876
wantFailedIndexes: ptr.To("0,1"),
1877-
wantTerminating: ptr.To[int32](1),
1877+
wantTerminating: ptr.To[int32](0),
18781878
},
18791879
},
18801880
wantJobConditionType: batchv1.JobFailed,

0 commit comments

Comments
 (0)