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:
danfengl
2024-01-16 06:00:35 +00:00
parent 684f71306e
commit ce00387ccf
6 changed files with 56 additions and 33 deletions
+5
View File
@@ -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