tracking with finalizers is the default way for the job controller

This commit is contained in:
kannon92 2023-01-13 16:48:35 +00:00
parent c0c386b9c9
commit 4890928b78

View File

@ -234,7 +234,6 @@ func TestControllerSyncJob(t *testing.T) {
expectedConditionReason string
expectedCreatedIndexes sets.Int
// only applicable to tracking with finalizers
expectedPodPatches int
// features
@ -3111,7 +3110,6 @@ func TestGetPodsForJob(t *testing.T) {
jobDeletedInCache bool
pods []*v1.Pod
wantPods []string
// only applicable to tracking with finalizers
wantPodsFinalizer []string
}{
"only matching": {