mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Fix the remaining flaky integration tests in Job controller
This commit is contained in:
parent
ac7239cddf
commit
739d6155f4
@ -701,7 +701,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},
|
||||
@ -1811,7 +1811,7 @@ func TestBackoffLimitPerIndex(t *testing.T) {
|
||||
wantActive: 0,
|
||||
wantFailed: 3,
|
||||
wantFailedIndexes: ptr.To("0,1"),
|
||||
wantTerminating: ptr.To[int32](1),
|
||||
wantTerminating: ptr.To[int32](0),
|
||||
},
|
||||
},
|
||||
wantJobConditionType: batchv1.JobFailed,
|
||||
|
Loading…
Reference in New Issue
Block a user