RamenDR / ramen

Apache License 2.0
70 stars 51 forks source link

envtest: retry on failure in EnsurePVCfromRD function #1424

Open ELENAGER opened 1 month ago

ELENAGER commented 1 month ago

Cache issues during test - retry, based on error returning from function, is added.

Fixes: https://github.com/RamenDR/ramen/issues/1371

nirs commented 4 weeks ago

For fixing conflicts like this:

Operation cannot be fulfilled on persistentvolumeclaims "testpvc1": the object has been modified; please apply your changes to the latest version and try again

retryOnConflict should be enough, no?