mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
tracking with finalizers is the default way for the job controller
This commit is contained in:
parent
c0c386b9c9
commit
4890928b78
@ -234,7 +234,6 @@ func TestControllerSyncJob(t *testing.T) {
|
|||||||
expectedConditionReason string
|
expectedConditionReason string
|
||||||
expectedCreatedIndexes sets.Int
|
expectedCreatedIndexes sets.Int
|
||||||
|
|
||||||
// only applicable to tracking with finalizers
|
|
||||||
expectedPodPatches int
|
expectedPodPatches int
|
||||||
|
|
||||||
// features
|
// features
|
||||||
@ -3111,7 +3110,6 @@ func TestGetPodsForJob(t *testing.T) {
|
|||||||
jobDeletedInCache bool
|
jobDeletedInCache bool
|
||||||
pods []*v1.Pod
|
pods []*v1.Pod
|
||||||
wantPods []string
|
wantPods []string
|
||||||
// only applicable to tracking with finalizers
|
|
||||||
wantPodsFinalizer []string
|
wantPodsFinalizer []string
|
||||||
}{
|
}{
|
||||||
"only matching": {
|
"only matching": {
|
||||||
|
Loading…
Reference in New Issue
Block a user