From b5c15543968471b30866ca6935701780a2eafbd6 Mon Sep 17 00:00:00 2001 From: kevin1689-cloud <69347704+kevin1689-cloud@users.noreply.github.com> Date: Mon, 5 Jun 2023 09:25:42 +0800 Subject: [PATCH] fix: modify the ginkgo.By name of pvc deletion protection e2e (#1304) Signed-off-by: kevin1689 --- test/e2e/policy/deletionprotection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/policy/deletionprotection.go b/test/e2e/policy/deletionprotection.go index 6adacb62ef..38643643e1 100644 --- a/test/e2e/policy/deletionprotection.go +++ b/test/e2e/policy/deletionprotection.go @@ -153,7 +153,7 @@ var _ = SIGDescribe("DeletionProtection", func() { gomega.Expect(err).To(gomega.HaveOccurred()) gomega.Expect(err.Error()).Should(gomega.ContainSubstring(deleteForbiddenMessage)) - ginkgo.By("Delete the PV bounded to PVC") + ginkgo.By("Delete the PVC just created") err = c.CoreV1().PersistentVolumeClaims(ns.Name).Delete(context.TODO(), pvcName, metav1.DeleteOptions{}) gomega.Expect(err).NotTo(gomega.HaveOccurred()) time.Sleep(3 * time.Second)