mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-29 03:05:54 +00:00
Add sleep to avoid AWS snapshot throttle issue
1. Add sleep in backup deletion E2E test to avoid AWS snapshot throttle issue: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html#:~:text=SnapshotCreationPerVolumeRateExceeded; 2. Support CSI snapshot checkpoint for EKS pipeline. Signed-off-by: danfengl <danfengl@vmware.com>
This commit is contained in:
@@ -178,6 +178,11 @@ func runBackupDeletionTests(client TestClient, veleroCfg VeleroConfig, backupNam
|
||||
return errors.Wrap(err, "exceed waiting for snapshot created in cloud")
|
||||
}
|
||||
}
|
||||
|
||||
// Hit issue: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html#:~:text=SnapshotCreationPerVolumeRateExceeded
|
||||
// Sleep for more than 15 seconds to avoid this issue.
|
||||
time.Sleep(1 * time.Minute)
|
||||
|
||||
backupName = "backup-1-" + UUIDgen.String()
|
||||
BackupCfg.BackupName = backupName
|
||||
|
||||
|
||||
Reference in New Issue
Block a user