mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 18:31:15 +00:00
Merge pull request #109342 from bertinatto/custom-timeout-storage-e2e-cleanup
test/e2e/storage: replace hardcoded value with custom timeout in cleanup routine
This commit is contained in:
commit
094a33ad80
@ -207,7 +207,7 @@ func (r *VolumeResource) CleanupResource() error {
|
||||
}
|
||||
|
||||
if pv != nil {
|
||||
err = e2epv.WaitForPersistentVolumeDeleted(f.ClientSet, pv.Name, 5*time.Second, 5*time.Minute)
|
||||
err = e2epv.WaitForPersistentVolumeDeleted(f.ClientSet, pv.Name, 5*time.Second, f.Timeouts.PVDelete)
|
||||
if err != nil {
|
||||
cleanUpErrs = append(cleanUpErrs, fmt.Errorf(
|
||||
"persistent Volume %v not deleted by dynamic provisioner: %w", pv.Name, err))
|
||||
|
Loading…
Reference in New Issue
Block a user