mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
WIP: fix the flaky Job integration tests
This commit is contained in:
parent
faf35b4eac
commit
9d0179ee11
@ -713,7 +713,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},
|
||||
@ -1782,7 +1782,7 @@ func TestBackoffLimitPerIndex(t *testing.T) {
|
||||
},
|
||||
wantFailed: 5,
|
||||
wantFailedIndexes: ptr.To(""),
|
||||
wantTerminating: ptr.To[int32](2),
|
||||
wantTerminating: ptr.To[int32](0),
|
||||
},
|
||||
},
|
||||
wantJobConditionType: batchv1.JobFailed,
|
||||
|
Loading…
Reference in New Issue
Block a user