diff --git a/test/stack_controller_test.go b/test/stack_controller_test.go index f647d4f2..5298bdbc 100644 --- a/test/stack_controller_test.go +++ b/test/stack_controller_test.go @@ -144,14 +144,11 @@ var _ = Describe("Stack Controller", func() { AfterEach(func() { By("Deleting left over stacks") - deletionPolicy := metav1.DeletePropagationForeground Expect(k8sClient.DeleteAllOf( ctx, &pulumiv1alpha1.Stack{}, client.InNamespace(namespace), - &client.DeleteAllOfOptions{ - DeleteOptions: client.DeleteOptions{PropagationPolicy: &deletionPolicy}, - }, + &client.DeleteAllOfOptions{}, )).Should(Succeed()) Eventually(func() bool {