Skip to content

Commit

Permalink
fix: modify the ginkgo.By name of pvc deletion protection e2e (openkr…
Browse files Browse the repository at this point in the history
…uise#1304)

Signed-off-by: kevin1689 <kevinyang1689@163.com>
  • Loading branch information
kevin1689-cloud authored and diannaowa committed Aug 29, 2023
1 parent a502870 commit b5c1554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/policy/deletionprotection.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b5c1554

Please sign in to comment.