Skip to content

Commit

Permalink
fix: modify the ginkgo.By name of pvc deletion protection e2e
Browse files Browse the repository at this point in the history
Signed-off-by: kevin1689 <[email protected]>
  • Loading branch information
kevin1689-cloud committed Jun 4, 2023
1 parent b7977a7 commit 2a848e3
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 2a848e3

Please sign in to comment.