tracking with finalizers is the default way for the job controller
This commit is contained in:
@@ -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": {
|
||||||
|
Reference in New Issue
Block a user