CSI e2e: stop leaking pvs in CSI mock snapshot test

This commit is contained in:
Tomas Smetana 2021-06-08 14:14:39 +02:00
parent f7cff077d5
commit 3968ee532d

View File

@ -1586,6 +1586,8 @@ var _ = utils.SIGDescribe("CSI mock volume", func() {
_, err = e2epv.WaitForPVClaimBoundPhase(m.cs, []*v1.PersistentVolumeClaim{pvc}, 1*time.Minute)
framework.ExpectNoError(err, "Failed to create claim: %v", err)
m.pvcs = append(m.pvcs, pvc)
ginkgo.By("Creating Secret")
secret := &v1.Secret{
ObjectMeta: metav1.ObjectMeta{