diff --git a/test/e2e/testsuites/testsuites.go b/test/e2e/testsuites/testsuites.go index cf83e05ead..e10f9d5087 100644 --- a/test/e2e/testsuites/testsuites.go +++ b/test/e2e/testsuites/testsuites.go @@ -367,7 +367,7 @@ func (t *TestPersistentVolumeClaim) Cleanup(ctx context.Context) { // in a couple of minutes. if t.persistentVolume.Spec.PersistentVolumeReclaimPolicy == v1.PersistentVolumeReclaimDelete { ginkgo.By(fmt.Sprintf("waiting for claim's PV %q to be deleted", t.persistentVolume.Name)) - err := e2epv.WaitForPersistentVolumeDeleted(ctx, t.client, t.persistentVolume.Name, 5*time.Second, 10*time.Minute) + err := e2epv.WaitForPersistentVolumeDeleted(ctx, t.client, t.persistentVolume.Name, 5*time.Second, 20*time.Minute) framework.ExpectNoError(err) } // Wait for the PVC to be deleted @@ -389,7 +389,7 @@ func (t *TestPersistentVolumeClaim) DeleteBoundPersistentVolume(ctx context.Cont err := e2epv.DeletePersistentVolume(ctx, t.client, t.persistentVolume.Name) framework.ExpectNoError(err) ginkgo.By(fmt.Sprintf("waiting for claim's PV %q to be deleted", t.persistentVolume.Name)) - err = e2epv.WaitForPersistentVolumeDeleted(ctx, t.client, t.persistentVolume.Name, 5*time.Second, 10*time.Minute) + err = e2epv.WaitForPersistentVolumeDeleted(ctx, t.client, t.persistentVolume.Name, 5*time.Second, 20*time.Minute) framework.ExpectNoError(err) }