@@ -654,7 +654,7 @@ func TestSuccessPolicy(t *testing.T) {
654654 wantFailed : 0 ,
655655 wantSucceeded : 1 ,
656656 wantCompletedIndexes : "1" ,
657- wantTerminating : ptr.To [int32 ](1 ),
657+ wantTerminating : ptr.To [int32 ](0 ),
658658 },
659659 },
660660 wantConditionTypes : []batchv1.JobConditionType {batchv1 .JobSuccessCriteriaMet , batchv1 .JobComplete },
@@ -701,7 +701,7 @@ func TestSuccessPolicy(t *testing.T) {
701701 wantFailed : 0 ,
702702 wantSucceeded : 1 ,
703703 wantCompletedIndexes : "1" ,
704- wantTerminating : ptr.To [int32 ](1 ),
704+ wantTerminating : ptr.To [int32 ](0 ),
705705 },
706706 },
707707 wantConditionTypes : []batchv1.JobConditionType {batchv1 .JobSuccessCriteriaMet , batchv1 .JobComplete },
@@ -1719,7 +1719,7 @@ func TestBackoffLimitPerIndex(t *testing.T) {
17191719 },
17201720 wantFailed : 5 ,
17211721 wantFailedIndexes : ptr .To ("" ),
1722- wantTerminating : ptr.To [int32 ](2 ),
1722+ wantTerminating : ptr.To [int32 ](0 ),
17231723 },
17241724 },
17251725 wantJobConditionType : batchv1 .JobFailed ,
@@ -1811,7 +1811,7 @@ func TestBackoffLimitPerIndex(t *testing.T) {
18111811 wantActive : 0 ,
18121812 wantFailed : 3 ,
18131813 wantFailedIndexes : ptr .To ("0,1" ),
1814- wantTerminating : ptr.To [int32 ](1 ),
1814+ wantTerminating : ptr.To [int32 ](0 ),
18151815 },
18161816 },
18171817 wantJobConditionType : batchv1 .JobFailed ,
0 commit comments