mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 03:33:56 +00:00
Merge pull request #119745 from tsmetana/fix-local-stress-flake
Local PV Stress test: don't fail on deleting missing PV
This commit is contained in:
commit
c5a675808b
@ -529,7 +529,7 @@ var _ = utils.SIGDescribe("PersistentVolumes-local ", func() {
|
||||
continue
|
||||
}
|
||||
err = config.client.CoreV1().PersistentVolumes().Delete(backgroundCtx, pv.Name, metav1.DeleteOptions{})
|
||||
if errors.Is(err, context.Canceled) {
|
||||
if apierrors.IsNotFound(err) || errors.Is(err, context.Canceled) {
|
||||
continue
|
||||
}
|
||||
framework.ExpectNoError(err)
|
||||
|
Loading…
Reference in New Issue
Block a user