Update job_controller_test.go

This commit is contained in:
Adam McArthur 2023-08-25 08:15:53 -06:00 committed by GitHub
parent 22f4b1c56a
commit 0bc0256093
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5198,7 +5198,7 @@ func TestBackupFinalizerRemoval(t *testing.T) {
}
pod := newPod("test-pod", job)
// pod.Finalizers = append(pod.Finalizers, batch.JobTrackingFinalizer)
pod.Finalizers = append(pod.Finalizers, batch.JobTrackingFinalizer)
pod, err = clientset.CoreV1().Pods(pod.GetNamespace()).Create(ctx, pod, metav1.CreateOptions{})
if err != nil {